mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
should check both end/nether
This commit is contained in:
parent
259fe94f83
commit
3f712ed5f0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue