added feedback to event calling and fixed event registry
disabled ability to handle global events from player scoped apps
This commit is contained in:
1 parent
a94ab55e66
commit
5c9774f1d2
6 files changed
+69
-43
No files matched your search
@@ -268,7 +268,7 @@ public abstract class ScriptHost
|
||||
data.functionImports.remove(varName);
|
||||
}
|
||||
|
||||
public void addUserDefinedFunction(Module module, String name, FunctionValue fun)
|
||||
public void addUserDefinedFunction(Context ctx, Module module, String name, FunctionValue fun)
|
||||
{
|
||||
moduleData.get(module).globalFunctions.put(name, fun);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user