Fix teleporting errors

This commit is contained in:
KingRainbow44
2023-05-10 20:54:25 -04:00
parent 510e6bfa78
commit 07e038343d
5 changed files with 28 additions and 11 deletions

View File

@@ -100,10 +100,10 @@ public class PacketPlayerEnterSceneNotify extends BasePacket {
+ "-"
+ 18402);
// INVESTIGATE: The brokenness of scene reloading.
// if (teleportProperties.getDungeonId() != 0) {
// proto.setDungeonId(teleportProperties.getDungeonId());
// }
// Apply the dungeon ID to the packet if it's a dungeon.
if (teleportProperties.getDungeonId() != 0) {
proto.setDungeonId(teleportProperties.getDungeonId());
}
this.setData(proto);
}