Listener was not registered using BentoBox API so caused reload issues.
This commit is contained in:
parent
0814f22424
commit
d0355e8b9e
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue