Fix 1.20.5->1.20.3 unpaired lodestone compass (#3864)

This commit is contained in:
Pantera (Mad_Daniel) 2024-05-19 18:58:25 +09:00 committed by GitHub
parent 052fb6e366
commit 47f5617f83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -228,6 +228,8 @@ public final class StructuredDataConverter {
positionTag.putInt("Z", data.position().z());
tag.put("LodestonePos", positionTag);
tag.putString("LodestoneDimension", data.position().dimension());
} else {
tag.putString("LodestoneDimension", "viaversion:viaversion");
}
});
register(StructuredDataKey.FIREWORKS, (data, tag) -> {
@ -880,4 +882,4 @@ public final class StructuredDataConverter {
void convert(UserConnection connection, T data, CompoundTag tag);
}
}
}