style(wrapper): update note

This commit is contained in:
ineanto 2023-11-24 22:48:08 +01:00
parent 00e820735d
commit 3ee51ef6a7

View file

@ -57,7 +57,7 @@ public class WrapperPlayServerRespawn extends AbstractPacket {
commonPlayerSpawnInfoStructure.getStructures().write(0, dimensionType); commonPlayerSpawnInfoStructure.getStructures().write(0, dimensionType);
commonPlayerSpawnInfoStructure.getWorldKeys().write(0, value); commonPlayerSpawnInfoStructure.getWorldKeys().write(0, value);
} else if (MinecraftVersion.WILD_UPDATE.atOrAbove()) { } else if (MinecraftVersion.WILD_UPDATE.atOrAbove()) {
// 1.19 to 1.20.1 // 1.19 to 1.20.2
// Thank you lukalt! // Thank you lukalt!
final InternalStructure dimensionType = handle.getStructures().read(0); final InternalStructure dimensionType = handle.getStructures().read(0);
dimensionType.getMinecraftKeys().write(0, new MinecraftKey("minecraft", "dimension_type")); dimensionType.getMinecraftKeys().write(0, new MinecraftKey("minecraft", "dimension_type"));