Skip to content

Commit 20cb89a

Browse files
committed
Fixing problems for the plugin to boot.
1 parent 4643c20 commit 20cb89a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Utility Library/src/main/java/org/broken/arrow/utility/library/UtilityLibrary.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ public final class UtilityLibrary extends JavaPlugin {
3434
public void onLoad() {
3535
instance = this;
3636
UpdateTitle.update(null, "");
37-
this.menuAPI = new RegisterMenuAPI(this);
38-
this.chunkRelevanceTracker = new ChunkRelevanceTrackerWrapper(this);
3937
}
4038

4139
@Override
4240
public void onEnable() {
41+
this.chunkRelevanceTracker = new ChunkRelevanceTrackerWrapper(this);
42+
this.menuAPI = new RegisterMenuAPI(this);
4343
Bukkit.getPluginManager().registerEvents(new UtilityListener(this.chunkRelevanceTracker),this);
4444
getLogger().log(Level.INFO, "Has started API " + getDescription().getName() + " version= " + getDescription().getVersion());
4545
}

0 commit comments

Comments
 (0)