From 59a9a0dcfc284351775a91f98dae1c9f118ea12f Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 2 May 2021 16:45:53 +0200 Subject: [PATCH] Fix ScriptVarsCommand --- .../steamwar/bausystem/features/script/ScriptVarsCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");