mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-04 22:14:40 +01:00
SPIGOT-4867: Incorrect dimension ID for nether portal teleports
This commit is contained in:
parent
4e60dbe7e4
commit
8ad64c4f99
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@
|
||||||
+ // CraftBukkit start
|
+ // CraftBukkit start
|
||||||
+ this.dimension = dimensionmanager;
|
+ this.dimension = dimensionmanager;
|
||||||
+
|
+
|
||||||
+ this.playerConnection.sendPacket(new PacketPlayOutRespawn(dimensionmanager, this.world.getWorldData().getType(), this.playerInteractManager.getGameMode()));
|
+ this.playerConnection.sendPacket(new PacketPlayOutRespawn(worldserver1.worldProvider.getDimensionManager(), this.world.getWorldData().getType(), this.playerInteractManager.getGameMode()));
|
||||||
+ this.playerConnection.sendPacket(new PacketPlayOutServerDifficulty(this.world.getDifficulty(), this.world.getWorldData().isDifficultyLocked()));
|
+ this.playerConnection.sendPacket(new PacketPlayOutServerDifficulty(this.world.getDifficulty(), this.world.getWorldData().isDifficultyLocked()));
|
||||||
+ PlayerList playerlist = this.server.getPlayerList();
|
+ PlayerList playerlist = this.server.getPlayerList();
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in a new issue