fix(wrapper): 1.20
This commit is contained in:
parent
23f9424fa9
commit
df988dbf87
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public class WrapperPlayServerRespawn extends AbstractPacket {
|
||||||
final MinecraftVersion v1_20_5 = new MinecraftVersion(1, 20, 5);
|
final MinecraftVersion v1_20_5 = new MinecraftVersion(1, 20, 5);
|
||||||
|
|
||||||
if (!MinecraftVersion.getCurrentVersion().isAtLeast(v1_20_5)) {
|
if (!MinecraftVersion.getCurrentVersion().isAtLeast(v1_20_5)) {
|
||||||
// 1.20.1 - 1.20.4
|
// 1.20 - 1.20.4
|
||||||
final StructureModifier<InternalStructure> structureModifier = spawnInfoStructure == null ?
|
final StructureModifier<InternalStructure> structureModifier = spawnInfoStructure == null ?
|
||||||
handle.getStructures() : spawnInfoStructure.getStructures();
|
handle.getStructures() : spawnInfoStructure.getStructures();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue