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
commitf4802894d3626c95a449c29d4cbadcb7c44a690f (patch)
treecc1b3f7079dc1f6000f6c11d23bc15aa49dfcb9f
parenta73d79893d45dfb61406c3e7da04300356aaca67 (diff)
downloadEssentials-f4802894d3626c95a449c29d4cbadcb7c44a690f.tar
Essentials-f4802894d3626c95a449c29d4cbadcb7c44a690f.tar.gz
Essentials-f4802894d3626c95a449c29d4cbadcb7c44a690f.tar.lz
Essentials-f4802894d3626c95a449c29d4cbadcb7c44a690f.tar.xz
Essentials-f4802894d3626c95a449c29d4cbadcb7c44a690f.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);