1.20.2 - Play Login and Respawn packets do not contain world names.
gamerover98 opened this issue · 0 comments
- This issue is not solved in a development build
Describe the bug
Using the latest version of Spigot/Paper/PurPur 1.20.2 and the latest development build #669, the packet container returns an empty list of world names.
To Reproduce
PacketContainer packet = ...
StructureModifier<World> worldsStructureModifier = packet.getWorldKeys();
List<World> worlds = worldsStructureModifier.getValues();
log(Packet-worlds: %s",
worlds
.stream()
.map(World::getName)
.collect(Collectors.joining(", ")));
Current log
1.20.1: Packet-worlds: world
1.20.2: Packet-worlds:
Expected log
1.20.1: Packet-worlds: world
1.20.2: Packet-worlds: world
Version Info
- Spigot 1.20.2
- The latest development build #669 with default configurations.
Thanks! 🥇