diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptVarsCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptVarsCommand.java index a3b615a9..7e6ef232 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptVarsCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptVarsCommand.java @@ -76,7 +76,7 @@ public class ScriptVarsCommand extends SWCommand { } @Register - public void setValueCommand(Player p, String varName, long value) { + public void setValueCommand(Player p, String varName, int value) { Context context = ScriptListener.getGlobalContext(p); context.putValue(varName, new Value.LongValue(value)); p.sendMessage(BauSystem.PREFIX + varName + " auf " + value + " gesetzt");