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
commit e0bd8e3f9d
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -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);