Listener was not registered using BentoBox API so caused reload issues.

This commit is contained in:
tastybento 2019-09-15 16:41:17 -07:00
parent 0814f22424
commit d0355e8b9e
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public class Warp extends Addon {
warpSignsManager = new WarpSignsManager(this, this.getPlugin());
warpPanelManager = new WarpPanelManager(this);
// Load the listener
getServer().getPluginManager().registerEvents(new WarpSignsListener(this), this.getPlugin());
this.registerListener(new WarpSignsListener(this));
}
}