diff --git a/ArmShopBridge/src/main/java/net/alex9849/armshopbridge/listener/RestoreRegionListener.java b/ArmShopBridge/src/main/java/net/alex9849/armshopbridge/listener/RestoreRegionListener.java index c4cde6c..831caa7 100644 --- a/ArmShopBridge/src/main/java/net/alex9849/armshopbridge/listener/RestoreRegionListener.java +++ b/ArmShopBridge/src/main/java/net/alex9849/armshopbridge/listener/RestoreRegionListener.java @@ -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; @@ -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()); }