host tweaks

This commit is contained in:
gnembon committed 2019-07-20 19:05:11 -03:00
1 parent 3c96345a60
commit 34bfe2e996
2 files changed
+14 -18

No files matched your search

@@ -211,7 +211,7 @@ public class ScriptCommand
boolean success = CarpetServer.scriptServer.addScriptHost(cc.getSource(), StringArgumentType.getString(cc, "package"), true);
return success?1:0;
}).
then(literal("global").
then(literal("shared").
executes((cc) ->
{
boolean success = CarpetServer.scriptServer.addScriptHost(cc.getSource(), StringArgumentType.getString(cc, "package"), false);