Fix nether portal ignition

This commit is contained in:
md_5 2020-08-12 16:40:43 +10:00
parent 2ee7318ae1
commit 43c7ff9d77
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -29,7 +29,7 @@
private static boolean a(World world) {
- return world.getDimensionKey() == World.OVERWORLD || world.getDimensionKey() == World.THE_NETHER;
+ return world.getTypeKey() != DimensionManager.OVERWORLD && world.getTypeKey() != DimensionManager.THE_NETHER; // CraftBukkit - getTypeKey()
+ return world.getTypeKey() == DimensionManager.OVERWORLD || world.getTypeKey() == DimensionManager.THE_NETHER; // CraftBukkit - getTypeKey()
}
@Override