From 6576198b69559fc92fb870dee40bf37507a92976 Mon Sep 17 00:00:00 2001 From: Acrobot Date: Sat, 16 Mar 2013 18:33:09 +0100 Subject: [PATCH] Fix priorities --- .../com/Acrobot/ChestShop/Listeners/ShopRefundListener.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;