Skip to content

Commit

Permalink
v2.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nulli0n committed Nov 24, 2024
1 parent 5d5fc08 commit 7237517
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,8 @@ public static NightItem read(@NotNull FileConfig config, @NotNull String path) {
}

if (config.contains(path + ".Name")) {
String oldName = config.getString(path + ".Name", "null");
String oldName = config.getString(path + ".Name");
config.set(path + ".Display_Name", oldName);
config.remove(path + ".Name");
}

if (config.contains(path + ".Enchants")) {
Expand Down

0 comments on commit 7237517

Please sign in to comment.