diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitRegionManager.java b/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitRegionManager.java index 0855de4bc..74b5c1372 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitRegionManager.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitRegionManager.java @@ -276,7 +276,7 @@ public class BukkitRegionManager extends RegionManager { BaseBlock[] ids = map.allBlocks.get(plotLoc); if (ids != null) { int minY = value.getMin().getY(); - for (int yIndex = 0; yIndex < Math.min(128 - minY, ids.length); yIndex++) { + for (int yIndex = 0; yIndex < ids.length; yIndex++) { int y = yIndex + minY; BaseBlock id = ids[y]; if (id != null) { @@ -285,13 +285,6 @@ public class BukkitRegionManager extends RegionManager { value.setBlock(x1, y, z1, BlockTypes.AIR.getDefaultState()); } } - for (int yIndex = Math.min(128 - minY, ids.length); yIndex < ids.length; yIndex++) { - int y = yIndex + minY; - BaseBlock id = ids[y]; - if (id != null) { - value.setBlock(x1, y, z1, id); - } - } } } }