mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 10:17:38 +01:00
Fixed allow-nether being ignored
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
0f394bd1f6
commit
20d9b64e16
@ -324,7 +324,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
if (fromWorld == toWorld) {
|
||||
entity.netServerHandler.teleport(to);
|
||||
} else {
|
||||
server.getHandle().moveToWorld(entity, toWorld.dimension, to);
|
||||
server.getHandle().moveToWorld(entity, toWorld.dimension, true, to);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user