1
0
mirror of https://github.com/BentoBoxWorld/Warps.git synced 2024-11-22 02:25:31 +01:00

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

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));
}
}