diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/util/block/BukkitLocalQueue_1_9.java b/Bukkit/src/main/java/com/plotsquared/bukkit/util/block/BukkitLocalQueue_1_9.java index 580c7f664..351a69243 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/util/block/BukkitLocalQueue_1_9.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/util/block/BukkitLocalQueue_1_9.java @@ -260,7 +260,7 @@ public class BukkitLocalQueue_1_9 extends BukkitLocalQueue { Method ym = null; Method zm = null; // Trim tiles - boolean removed = false; + Collection tickList = ((Collection) this.tileEntityListTick.of(w).get()); Set> entrySet = (Set>) (Set) tiles.entrySet(); Iterator> iterator = entrySet.iterator(); while (iterator.hasNext()) { @@ -282,13 +282,10 @@ public class BukkitLocalQueue_1_9 extends BukkitLocalQueue { continue; } if (array[k] != 0) { - removed = true; + tickList.remove(tile.getValue()); iterator.remove(); } } - if (removed) { - ((Collection) this.tileEntityListTick.of(w).get()).clear(); - } // Trim entities for (int i = 0; i < 16; i++) {