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 c0d58c5 commit 71da599
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.listener;

import net.alex9849.arm.events.ResetBlocksEvent;
import net.alex9849.arm.events.RestoreRegionEvent;
import net.alex9849.armshopbridge.ArmShopBridge;
import net.alex9849.armshopbridge.interfaces.IShopPluginAdapter;
import org.bukkit.event.EventHandler;
Expand All @@ -10,7 +10,7 @@
public class RestoreRegionListener implements Listener {

@EventHandler(priority = EventPriority.MONITOR)
public void handleRegionReset(ResetBlocksEvent event) {
public void handleRegionReset(RestoreRegionEvent event) {
for(IShopPluginAdapter adapter : ArmShopBridge.getInstance().getShopPluginAdapters()) {
adapter.deleteShops(event.getRegion());
}
Expand Down

0 comments on commit 71da599

Please sign in to comment.