SPIGOT-4867: Incorrect dimension ID for nether portal teleports
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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();
|
||||||
+
|
+
|
||||||
|
|||||||
Reference in New Issue
Block a user