From 106c3c5cb4ace1893d1b3b93f6f8ebccf025a368 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Tue, 1 Mar 2016 14:17:29 +1100 Subject: [PATCH] Temporary fix for 1.9 --- .../java/com/plotsquared/bukkit/util/block/SlowChunk.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/util/block/SlowChunk.java b/Bukkit/src/main/java/com/plotsquared/bukkit/util/block/SlowChunk.java index 4c27a14bc..9fc7ab551 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/util/block/SlowChunk.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/util/block/SlowChunk.java @@ -11,7 +11,6 @@ public class SlowChunk extends PlotChunk { public PlotBlock[][] result = new PlotBlock[16][]; public int[][] biomes; - private PlotBlock lastBlock; public SlowChunk(ChunkWrapper chunk) { super(chunk); } @@ -35,11 +34,7 @@ public class SlowChunk extends PlotChunk { if (result[y >> 4] == null) { result[y >> 4] = new PlotBlock[4096]; } - if (id == lastBlock.id && data == lastBlock.data) { - result[MainUtil.CACHE_I[x][y][z]][MainUtil.CACHE_J[x][y][z]] = lastBlock; - } else { - result[MainUtil.CACHE_I[x][y][z]][MainUtil.CACHE_J[x][y][z]] = new PlotBlock((short) id, data); - } + result[MainUtil.CACHE_I[x][y][z]][MainUtil.CACHE_J[x][y][z]] = new PlotBlock((short) id, data); } @Override