From 3b176038bf1c39e675f26b3cab075c4c0ee6d93c Mon Sep 17 00:00:00 2001 From: Wyatt Childers Date: Sat, 5 Mar 2016 15:59:22 -0500 Subject: [PATCH] Fixed a bug where some mobs were incorrectly determined to be tagged on the Sponge platform --- .../main/java/com/sk89q/worldedit/sponge/SpongeEntityType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeEntityType.java b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeEntityType.java index afd2393cc..d3d73cffa 100644 --- a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeEntityType.java +++ b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeEntityType.java @@ -132,7 +132,7 @@ public class SpongeEntityType implements EntityType { @Override public boolean isTagged() { - return entity.get(Keys.DISPLAY_NAME).orElse(Text.EMPTY).isEmpty(); + return !entity.get(Keys.DISPLAY_NAME).orElse(Text.EMPTY).isEmpty(); } @Override