Don't check for parrots on unknown version

This commit is contained in:
Jesse Boyd 2017-08-13 12:15:56 +10:00
parent e9cbd7a51e
commit 113c625122
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -118,7 +118,9 @@ public class BukkitWorld extends LocalWorld {
private void addEntities(Entity ent, Collection<com.sk89q.worldedit.entity.Entity> ents) { private void addEntities(Entity ent, Collection<com.sk89q.worldedit.entity.Entity> ents) {
ents.add(adapt(ent)); ents.add(adapt(ent));
switch (Fawe.<FaweBukkit>imp().getVersion()) { FaweBukkit.Version version = Fawe.<FaweBukkit>imp().getVersion();
switch (version) {
case NONE:
case v1_7_R4: case v1_7_R4:
case v1_8_R3: case v1_8_R3:
case v1_9_R2: case v1_9_R2: