diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/script/command/world/GetMaterial.java b/BauSystem_Main/src/de/steamwar/bausystem/features/script/command/world/GetMaterial.java index 60dd9243..29b7807f 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/script/command/world/GetMaterial.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/script/command/world/GetMaterial.java @@ -75,6 +75,6 @@ public class GetMaterial implements SpecialCommand { int y = (int) scriptExecutor.getOrItselfValue(command[3]).asLong(); int z = (int) scriptExecutor.getOrItselfValue(command[4]).asLong(); scriptExecutor.getLocalVariables().putValue(command[1], new Value.StringValue(world.getBlockAt(x, y, z).getType().name())); - return false; + return true; } } diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/script/command/world/SetMaterial.java b/BauSystem_Main/src/de/steamwar/bausystem/features/script/command/world/SetMaterial.java index 12dd41c2..0c4ac8b2 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/script/command/world/SetMaterial.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/script/command/world/SetMaterial.java @@ -78,6 +78,6 @@ public class SetMaterial implements SpecialCommand { } catch (Exception e) { // Ignored } - return false; + return true; } }