diff --git a/src/main/java/com/Acrobot/ChestShop/Listeners/ShopRefundListener.java b/src/main/java/com/Acrobot/ChestShop/Listeners/ShopRefundListener.java index 7112cd6..93567c7 100644 --- a/src/main/java/com/Acrobot/ChestShop/Listeners/ShopRefundListener.java +++ b/src/main/java/com/Acrobot/ChestShop/Listeners/ShopRefundListener.java @@ -7,6 +7,7 @@ import com.Acrobot.ChestShop.Events.ShopDestroyedEvent; import com.Acrobot.ChestShop.Permission; import com.Acrobot.ChestShop.Utils.uName; import org.bukkit.event.EventHandler; +import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import static com.Acrobot.ChestShop.Permission.NOFEE; @@ -16,7 +17,7 @@ import static com.Acrobot.ChestShop.Signs.ChestShopSign.NAME_LINE; * @author Acrobot */ public class ShopRefundListener implements Listener { - @EventHandler + @EventHandler(priority = EventPriority.MONITOR) public static void onShopDestroy(ShopDestroyedEvent event) { double refundPrice = Properties.SHOP_REFUND_PRICE;