mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-4867: Incorrect dimension ID for nether portal teleports
By: md_5 <git@md-5.net>
This commit is contained in:
parent
f3d2f9c5c0
commit
8399005c46
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