Skip to content

Commit

Permalink
added support for new listener
Browse files Browse the repository at this point in the history
  • Loading branch information
alex9849 committed Apr 16, 2020
1 parent 71da599 commit e44ea7d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.alex9849.armshopbridge;

import net.alex9849.arm.events.ResetBlocksEvent;
import net.alex9849.arm.events.RestoreRegionEvent;
import net.alex9849.arm.events.UnsellRegionEvent;
import net.alex9849.armshopbridge.interfaces.IShopPluginAdapter;
import net.alex9849.armshopbridge.listener.RestoreRegionListener;
Expand Down Expand Up @@ -33,7 +33,7 @@ public void onEnable() {
@Override
public void onDisable() {
super.onDisable();
ResetBlocksEvent.getHandlerList().unregister(this);
RestoreRegionEvent.getHandlerList().unregister(this);
UnsellRegionEvent.getHandlerList().unregister(this);
ArmShopBridge.instance = null;
}
Expand Down

0 comments on commit e44ea7d

Please sign in to comment.