refactor(note): i'm dumb
This commit is contained in:
parent
b673a6409f
commit
25e3893771
1 changed files with 1 additions and 1 deletions
|
@ -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.2
|
// 1.19 to 1.20.1
|
||||||
// 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"));
|
||||||
|
|
Loading…
Reference in a new issue