Skip to content

Commit

Permalink
Listener was not registered using BentoBox API so caused reload issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Sep 15, 2019
1 parent 0814f22 commit d0355e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/world/bentobox/warps/Warp.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public void onEnable() {
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));
}
}

Expand Down

0 comments on commit d0355e8

Please sign in to comment.