summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-07-06 00:14:06 +0200
committersnowleo <schneeleo@gmail.com>2011-07-06 00:14:06 +0200
commit8039f941f638be6499138929ca905788265efd65 (patch)
tree7613cddcbec41929a0ce4aa50053402a3dd11bd5
parentc07cef7de8c3dc63bb8c897f7184438cc0812887 (diff)
downloadEssentials-8039f941f638be6499138929ca905788265efd65.tar
Essentials-8039f941f638be6499138929ca905788265efd65.tar.gz
Essentials-8039f941f638be6499138929ca905788265efd65.tar.lz
Essentials-8039f941f638be6499138929ca905788265efd65.tar.xz
Essentials-8039f941f638be6499138929ca905788265efd65.zip
Run the sign break event with the lowest priority, so it won't restore if other plugins cancel the event.
-rw-r--r--Essentials/src/com/earth2me/essentials/Essentials.java2
1 files changed, 1 insertions, 1 deletions
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);