From f6b844e53c71a2243243bd44221bf561b1090a38 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 14 Apr 2019 21:46:57 +1000 Subject: [PATCH] Fix chunk yPos --- .../java/com/boydti/fawe/bukkit/v1_13/BukkitChunk_1_13.java | 3 +-- .../java/com/boydti/fawe/bukkit/v1_13/BukkitQueue_1_13.java | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/v1_13/BukkitChunk_1_13.java b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/v1_13/BukkitChunk_1_13.java index dac50ed91..984ce83e2 100644 --- a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/v1_13/BukkitChunk_1_13.java +++ b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/v1_13/BukkitChunk_1_13.java @@ -137,8 +137,7 @@ public class BukkitChunk_1_13 extends IntFaweChunk { } public ChunkSection copy(ChunkSection current) throws IllegalAccessException, InvocationTargetException, NoSuchFieldException { - int y = current.getYPosition(); - ChunkSection newSection = new ChunkSection(y, current.getSkyLightArray() != null); + ChunkSection newSection = new ChunkSection(current.getYPosition(), current.getSkyLightArray() != null); // Copy light NibbleArray skyLight = current.getSkyLightArray(); diff --git a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/v1_13/BukkitQueue_1_13.java b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/v1_13/BukkitQueue_1_13.java index e31c9923f..de207488f 100644 --- a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/v1_13/BukkitQueue_1_13.java +++ b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/v1_13/BukkitQueue_1_13.java @@ -844,9 +844,9 @@ public class BukkitQueue_1_13 extends BukkitQueue_0