From 0c4fa56a83b6a8f3e9acdf9aeef8de20001768c1 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 5 Jan 2023 08:18:52 +0100 Subject: [PATCH] Fix Expression Signed-off-by: yoyosource --- .../bausystem/features/script/expression/Expression.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/script/expression/Expression.java b/BauSystem_Main/src/de/steamwar/bausystem/features/script/expression/Expression.java index f1bca91c..9bf807fb 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/script/expression/Expression.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/script/expression/Expression.java @@ -133,7 +133,7 @@ public class Expression { } } - return (Value) tokens.get(0); + return parse(tokens.get(0)); } private Value parse(Object token) {