player modules

This commit is contained in:
gnembon committed 2019-07-15 08:50:27 -03:00
1 parent 5ea299b7ef
commit 99229280c2
3 files changed
+21 -6

No files matched your search

@@ -206,7 +206,7 @@ public class ScriptCommand
suggests( (cc, bb) -> suggestMatching(CarpetServer.scriptServer.listAvailableModules(),bb)).
executes((cc) ->
{
boolean success = CarpetServer.scriptServer.addScriptHost(cc.getSource(), StringArgumentType.getString(cc, "package"));
boolean success = CarpetServer.scriptServer.addScriptHost(cc.getSource(), StringArgumentType.getString(cc, "package"), false);
return success?1:0;
})
);