Skip to content

Commit

Permalink
Fix 1.20.5->1.20.3 unpaired lodestone compass (#3864)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantera07 committed May 19, 2024
1 parent 052fb6e commit 47f5617
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ public StructuredDataConverter(final boolean backupInconvertibleData) {
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) -> {
Expand Down Expand Up @@ -880,4 +882,4 @@ interface DataConverter<T> {

void convert(UserConnection connection, T data, CompoundTag tag);
}
}
}

0 comments on commit 47f5617

Please sign in to comment.