Skip to content

Commit

Permalink
Revert "This changes the loading to not be on STARTUP (#2214)"
Browse files Browse the repository at this point in the history
This reverts commit 4a6bf31.
  • Loading branch information
tastybento committed Nov 10, 2023
1 parent 24148f3 commit c63de27
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/world/bentobox/bentobox/BentoBox.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,14 @@ public void onEnable(){

final long loadTime = System.currentTimeMillis() - loadStart;

//Bukkit.getScheduler().runTask(instance, () -> {
try {
completeSetup(loadTime);
} catch (Exception e) {
fireCriticalError(e.getMessage(), "");
e.printStackTrace();
}
//});
Bukkit.getScheduler().runTask(instance, () -> {
try {
completeSetup(loadTime);
} catch (Exception e) {
fireCriticalError(e.getMessage(), "");
e.printStackTrace();
}
});
}

private void completeSetup(long loadTime) {
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ contributors: ["The BentoBoxWorld Community"]
website: https://bentobox.world
description: ${project.description}

load: STARTUP

loadbefore: [Pladdon, Multiverse-Core, My_Worlds, Residence]

Expand Down

0 comments on commit c63de27

Please sign in to comment.