1
0
mirror of https://github.com/PaperMC/Paper.git synced 2025-04-05 03:25:57 +02:00

Fix nether portal ignition

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2020-08-12 16:40:43 +10:00
parent 6c307816d0
commit 5b931c0da0

View File

@ -29,7 +29,7 @@
private static boolean a(World world) { private static boolean a(World world) {
- return world.getDimensionKey() == World.OVERWORLD || world.getDimensionKey() == World.THE_NETHER; - 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 @Override