summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-09-21 02:30:58 +0200
committersnowleo <schneeleo@gmail.com>2011-09-21 02:30:58 +0200
commita0031d1d4511870fbeb16edc232f683492d0ad03 (patch)
tree9099959edf354fb3252ce2f51f17a34af76161b3 /EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java
parentd60dd01f0f33841ceb84e57478176be3eab47629 (diff)
downloadEssentials-a0031d1d4511870fbeb16edc232f683492d0ad03.tar
Essentials-a0031d1d4511870fbeb16edc232f683492d0ad03.tar.gz
Essentials-a0031d1d4511870fbeb16edc232f683492d0ad03.tar.lz
Essentials-a0031d1d4511870fbeb16edc232f683492d0ad03.tar.xz
Essentials-a0031d1d4511870fbeb16edc232f683492d0ad03.zip
New config setting: protect.prevent.enderman-pickup
Defaults to false
Diffstat (limited to 'EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java')
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java
index fa1fadad6..98daf26cb 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java
@@ -70,6 +70,7 @@ public class EssentialsProtect extends JavaPlugin implements IConf, IProtect
pm.registerEvent(Type.CREATURE_SPAWN, entityListener, Priority.Highest, this);
pm.registerEvent(Type.ENTITY_TARGET, entityListener, Priority.Highest, this);
pm.registerEvent(Type.EXPLOSION_PRIME, entityListener, Priority.Highest, this);
+ pm.registerEvent(Type.ENDERMAN_PICKUP, entityListener, Priority.Highest, this);
final EssentialsProtectWeatherListener weatherListener = new EssentialsProtectWeatherListener(this);
pm.registerEvent(Type.LIGHTNING_STRIKE, weatherListener, Priority.Highest, this);