From 113c6251222bc8896cf666d40ebb2f744ccab919 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 13 Aug 2017 12:15:56 +1000 Subject: [PATCH] Don't check for parrots on unknown version --- .../src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index fd1f849f..72850941 100644 --- a/bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -118,7 +118,9 @@ public class BukkitWorld extends LocalWorld { private void addEntities(Entity ent, Collection ents) { ents.add(adapt(ent)); - switch (Fawe.imp().getVersion()) { + FaweBukkit.Version version = Fawe.imp().getVersion(); + switch (version) { + case NONE: case v1_7_R4: case v1_8_R3: case v1_9_R2: