From 24f0cb9bcf5898eda66d724b15c2ce1857ec3d21 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 27 Mar 2016 07:39:48 +1100 Subject: [PATCH] Fixes #13 --- .../boydti/fawe/bukkit/v1_8/BukkitEditSessionWrapper_1_8.java | 1 + .../java/com/boydti/fawe/bukkit/v1_8/BukkitQueue_1_8.java | 4 ++-- .../java/com/boydti/fawe/bukkit/v1_9/BukkitQueue_1_9.java | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/boydti/fawe/bukkit/v1_8/BukkitEditSessionWrapper_1_8.java b/src/main/java/com/boydti/fawe/bukkit/v1_8/BukkitEditSessionWrapper_1_8.java index 23938a62..73089ec2 100644 --- a/src/main/java/com/boydti/fawe/bukkit/v1_8/BukkitEditSessionWrapper_1_8.java +++ b/src/main/java/com/boydti/fawe/bukkit/v1_8/BukkitEditSessionWrapper_1_8.java @@ -94,6 +94,7 @@ public class BukkitEditSessionWrapper_1_8 extends BukkitEditSessionWrapper_0 { case 51: case 52: case 54: + case 55: case 56: case 57: case 58: diff --git a/src/main/java/com/boydti/fawe/bukkit/v1_8/BukkitQueue_1_8.java b/src/main/java/com/boydti/fawe/bukkit/v1_8/BukkitQueue_1_8.java index 2abeccc2..04db3aa6 100644 --- a/src/main/java/com/boydti/fawe/bukkit/v1_8/BukkitQueue_1_8.java +++ b/src/main/java/com/boydti/fawe/bukkit/v1_8/BukkitQueue_1_8.java @@ -312,8 +312,8 @@ public class BukkitQueue_1_8 extends BukkitQueue_0 { final Object[] sections = (Object[]) sf.get(c); final HashMap tiles = (HashMap) tf.get(c); - List tilesUnload = (List) tileEntityUnload.of(w).get(); - final List[] entities = (List[]) ef.get(c); + Collection tilesUnload = (Collection) tileEntityUnload.of(w).get(); + final Collection[] entities = (Collection[]) ef.get(c); Method xm = null; Method ym = null; diff --git a/src/main/java/com/boydti/fawe/bukkit/v1_9/BukkitQueue_1_9.java b/src/main/java/com/boydti/fawe/bukkit/v1_9/BukkitQueue_1_9.java index 4131e454..77984ccb 100644 --- a/src/main/java/com/boydti/fawe/bukkit/v1_9/BukkitQueue_1_9.java +++ b/src/main/java/com/boydti/fawe/bukkit/v1_9/BukkitQueue_1_9.java @@ -323,8 +323,8 @@ public class BukkitQueue_1_9 extends BukkitQueue_0 { final Object[] sections = (Object[]) sf.get(c); final HashMap tiles = (HashMap) tf.get(c); - List tilesUnload = (List) tileEntityUnload.of(w).get(); - final List[] entities = (List[]) ef.get(c); + Collection tilesUnload = (Collection) tileEntityUnload.of(w).get(); + final Collection[] entities = (Collection[]) ef.get(c); Method xm = null; Method ym = null;