refactor entity events. Allow multiple hosts have events on things
This commit is contained in:
1 parent
1c35f5b6a9
commit
afd7952a62
11 files changed
+190
-186
No files matched your search
@@ -3,7 +3,6 @@ package carpet.script;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
public class Context
|
||||
{
|
||||
@@ -20,7 +19,7 @@ public class Context
|
||||
|
||||
public Map<String, LazyValue> variables = new HashMap<>();
|
||||
|
||||
protected ScriptHost host;
|
||||
public ScriptHost host;
|
||||
|
||||
Context(ScriptHost host)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user