mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
should check both end/nether
This commit is contained in:
parent
259fe94f83
commit
3f712ed5f0
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user