From 76ecaccc410bef86e30384fa40c59724d6d228a6 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Sat, 21 Mar 2026 17:45:26 +0100 Subject: [PATCH] Hotfix AutoChecker15 for now --- .../de/steamwar/schematicsystem/autocheck/AutoChecker15.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SchematicSystem/SchematicSystem_15/src/de/steamwar/schematicsystem/autocheck/AutoChecker15.java b/SchematicSystem/SchematicSystem_15/src/de/steamwar/schematicsystem/autocheck/AutoChecker15.java index d6189931..8ed1bd4c 100644 --- a/SchematicSystem/SchematicSystem_15/src/de/steamwar/schematicsystem/autocheck/AutoChecker15.java +++ b/SchematicSystem/SchematicSystem_15/src/de/steamwar/schematicsystem/autocheck/AutoChecker15.java @@ -53,7 +53,7 @@ public class AutoChecker15 implements AutoChecker.IAutoChecker { checkInventory(result, block, material, new BlockPos(x, y, z)); } - if(x == 0 || x == max.getBlockX() - 1 || y == max.getBlockY() - 1 || z == 0 || z == max.getBlockZ() - 1) { + if(x == min.getBlockX() || x == max.getBlockX() || y == max.getBlockY() || z == min.getBlockZ() || z == max.getBlockZ()) { result.getDesignBlocks().computeIfAbsent(material, m -> new ArrayList<>()).add(new BlockPos(x, y, z)); } }