refactor entity events. Allow multiple hosts have events on things

This commit is contained in:
gnembon committed 2019-11-29 10:34:13 -04:00
1 parent 1c35f5b6a9
commit afd7952a62
11 files changed
+190 -186

No files matched your search

+1 -2
View File
@@ -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)
{