summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-10-09 20:14:41 +0200
committersnowleo <schneeleo@gmail.com>2011-10-09 20:14:41 +0200
commit7384991efa7f84db0b13dd780c1118092f9991a8 (patch)
treea5812525e535b4de7a291d39afe4b3d8f2e625a6
parentf3dc846b1b9b980bd3ceca8f1dc02c9135702927 (diff)
downloadEssentials-7384991efa7f84db0b13dd780c1118092f9991a8.tar
Essentials-7384991efa7f84db0b13dd780c1118092f9991a8.tar.gz
Essentials-7384991efa7f84db0b13dd780c1118092f9991a8.tar.lz
Essentials-7384991efa7f84db0b13dd780c1118092f9991a8.tar.xz
Essentials-7384991efa7f84db0b13dd780c1118092f9991a8.zip
Cancel early, not late
-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 0da255685..6f9b9a944 100644
--- a/Essentials/src/com/earth2me/essentials/Essentials.java
+++ b/Essentials/src/com/earth2me/essentials/Essentials.java
@@ -164,7 +164,7 @@ public class Essentials extends JavaPlugin implements IEssentials
pm.registerEvent(Type.PLAYER_EGG_THROW, playerListener, Priority.High, this);
pm.registerEvent(Type.PLAYER_BUCKET_EMPTY, playerListener, Priority.High, this);
pm.registerEvent(Type.PLAYER_ANIMATION, playerListener, Priority.High, this);
- pm.registerEvent(Type.PLAYER_BED_ENTER, playerListener, Priority.High, this);
+ pm.registerEvent(Type.PLAYER_BED_ENTER, playerListener, Priority.Lowest, this);
final EssentialsBlockListener blockListener = new EssentialsBlockListener(this);
pm.registerEvent(Type.BLOCK_PLACE, blockListener, Priority.Lowest, this);