Skip to content

Commit

Permalink
reload crates and holograms on deprecated migration
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Aug 13, 2024
1 parent 19c2883 commit a733a18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,5 @@ public void migrate(final CustomFile customFile, final String crateName) {

customFile.save();
customFile.reload();

//todo() add crate to plugin
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ public void run() {
}}, failedCrates, convertedCrates);

this.fileManager.init();

// reload crates
this.crateManager.loadHolograms();
this.crateManager.loadCrates();
}

@Override
Expand Down

0 comments on commit a733a18

Please sign in to comment.