Merge branch 'breaking' of https://github.com/IntellectualSites/PlotSquared into breaking

This commit is contained in:
Jesse Boyd
2019-04-09 00:29:30 +10:00

View File

@ -37,7 +37,7 @@ public class EntitySpawnListener implements Listener {
public static void testNether(Entity entity) { public static void testNether(Entity entity) {
@NotNull World world = entity.getWorld(); @NotNull World world = entity.getWorld();
if (world.getEnvironment() != World.Environment.NETHER) { if (world.getEnvironment() != World.Environment.NETHER && world.getEnvironment() != World.Environment.THE_END) {
return; return;
} }
test(entity); test(entity);