diff --git a/BauSystem_15/src/de/steamwar/bausystem/world/AutoLoader_15.java b/BauSystem_15/src/de/steamwar/bausystem/world/AutoLoader_15.java index 720a857..2dbcbba 100644 --- a/BauSystem_15/src/de/steamwar/bausystem/world/AutoLoader_15.java +++ b/BauSystem_15/src/de/steamwar/bausystem/world/AutoLoader_15.java @@ -36,7 +36,6 @@ class AutoLoader_15 { static void updateBlock(Location location) { Location[] locations = new Location[] { - location.clone(), location.clone().add(1, 0,0), location.clone().add(-1, 0,0), location.clone().add(0, 1,0), @@ -45,7 +44,7 @@ class AutoLoader_15 { location.clone().add(0, 0,-1) }; for (Location value : locations) { - if (value.getBlock().getType().toString().contains("SIGN")) continue; + if (!value.getBlock().getType().isSolid()) continue; BlockData data = value.getBlock().getBlockData(); value.getBlock().setType(Material.BARRIER, true); value.getBlock().setBlockData(data, true);