From 3f712ed5f02a2b0af8b166db014a2ddbf1903b6d Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Mon, 8 Apr 2019 18:03:38 +1000 Subject: [PATCH] should check both end/nether --- .../plotsquared/bukkit/listeners/EntitySpawnListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/EntitySpawnListener.java b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/EntitySpawnListener.java index a7d8133c6..8487c6a32 100644 --- a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/EntitySpawnListener.java +++ b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/EntitySpawnListener.java @@ -37,7 +37,7 @@ public class EntitySpawnListener implements Listener { public static void testNether(Entity entity) { @NotNull World world = entity.getWorld(); - if (world.getEnvironment() != World.Environment.NETHER) { + if (world.getEnvironment() != World.Environment.NETHER && world.getEnvironment() != World.Environment.THE_END) { return; } test(entity);