mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-25 11:35:18 +01:00
Fix 1.20.5->1.20.3 unpaired lodestone compass (#3864)
This commit is contained in:
parent
052fb6e366
commit
47f5617f83
@ -228,6 +228,8 @@ public final class StructuredDataConverter {
|
|||||||
positionTag.putInt("Z", data.position().z());
|
positionTag.putInt("Z", data.position().z());
|
||||||
tag.put("LodestonePos", positionTag);
|
tag.put("LodestonePos", positionTag);
|
||||||
tag.putString("LodestoneDimension", data.position().dimension());
|
tag.putString("LodestoneDimension", data.position().dimension());
|
||||||
|
} else {
|
||||||
|
tag.putString("LodestoneDimension", "viaversion:viaversion");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
register(StructuredDataKey.FIREWORKS, (data, tag) -> {
|
register(StructuredDataKey.FIREWORKS, (data, tag) -> {
|
||||||
@ -880,4 +882,4 @@ public final class StructuredDataConverter {
|
|||||||
|
|
||||||
void convert(UserConnection connection, T data, CompoundTag tag);
|
void convert(UserConnection connection, T data, CompoundTag tag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user