Skip to content

Commit

Permalink
use getFileName() instead of getCrateName() for saving locations
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Aug 15, 2024
1 parent 3efb9a3 commit e6084c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ public void addCrateLocation(@NotNull final Location location, @NotNull final Cr
}
}

locations.set("Locations." + id + ".Crate", crate.getCrateName());
locations.set("Locations." + id + ".Crate", crate.getFileName());
locations.set("Locations." + id + ".World", location.getWorld().getName());
locations.set("Locations." + id + ".X", location.getBlockX());
locations.set("Locations." + id + ".Y", location.getBlockY());
Expand Down

0 comments on commit e6084c9

Please sign in to comment.