Skip to content

Commit

Permalink
use kyori key
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed May 1, 2024
1 parent 1e2e12c commit 2ee6310
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private CompoundTag toTag(Location location) {
var tag = new CompoundTag();
tag.add("WorldUUIDLeast", location.getWorld().getUID().getLeastSignificantBits());
tag.add("WorldUUIDMost", location.getWorld().getUID().getMostSignificantBits());
tag.add("Dimension", location.getWorld().getKey().toString());
tag.add("Dimension", location.getWorld().key().asString());
tag.add("Pos", pos);
tag.add("Rotation", rotation);
return tag;
Expand Down

0 comments on commit 2ee6310

Please sign in to comment.