From e92aeee91b61e25902af9e172c5f4a2a69945734 Mon Sep 17 00:00:00 2001 From: snowleo Date: Wed, 6 Jul 2011 00:14:06 +0200 Subject: [PATCH] Run the sign break event with the lowest priority, so it won't restore if other plugins cancel the event. --- Essentials/src/com/earth2me/essentials/Essentials.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/Essentials.java b/Essentials/src/com/earth2me/essentials/Essentials.java index 1656a4e29..d75c13a73 100644 --- a/Essentials/src/com/earth2me/essentials/Essentials.java +++ b/Essentials/src/com/earth2me/essentials/Essentials.java @@ -196,7 +196,7 @@ public class Essentials extends JavaPlugin implements IEssentials final SignBlockListener signBlockListener = new SignBlockListener(this); pm.registerEvent(Type.SIGN_CHANGE, signBlockListener, Priority.Low, this); pm.registerEvent(Type.BLOCK_PLACE, signBlockListener, Priority.Low, this); - pm.registerEvent(Type.BLOCK_BREAK, signBlockListener, Priority.Low, this); + pm.registerEvent(Type.BLOCK_BREAK, signBlockListener, Priority.Lowest, this); pm.registerEvent(Type.BLOCK_IGNITE, signBlockListener, Priority.Low, this); pm.registerEvent(Type.BLOCK_BURN, signBlockListener, Priority.Low, this);