summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java
diff options
context:
space:
mode:
authorementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-03-31 22:20:53 +0000
committerementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-03-31 22:20:53 +0000
commitfb8086996112b8eeec916ad8070513dcc198aaf6 (patch)
tree55ef0f63c5cd4fd8d318a292c65923486196820e /EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java
parent6416041d2233da8c6fc4a9ca0ffb738f2cbbfa08 (diff)
downloadEssentials-fb8086996112b8eeec916ad8070513dcc198aaf6.tar
Essentials-fb8086996112b8eeec916ad8070513dcc198aaf6.tar.gz
Essentials-fb8086996112b8eeec916ad8070513dcc198aaf6.tar.lz
Essentials-fb8086996112b8eeec916ad8070513dcc198aaf6.tar.xz
Essentials-fb8086996112b8eeec916ad8070513dcc198aaf6.zip
Fix NPE where players trigger creature spawn
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1052 e251c2fe-e539-e718-e476-b85c1f46cddb
Diffstat (limited to 'EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java')
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java
index 798153b1c..ec93acc2c 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java
@@ -49,8 +49,6 @@ public class EssentialsProtect extends JavaPlugin
blockListener = new EssentialsProtectBlockListener(this);
entityListener = new EssentialsProtectEntityListener(this);
pm.registerEvent(Type.PLAYER_INTERACT, playerListener, Priority.Low, this);
- // Why is this commented?
- //pm.registerEvent(Type.BLOCK_DAMAGED, blockListener, Priority.High, this);
pm.registerEvent(Type.BLOCK_PLACE, blockListener, Priority.Highest, this);
pm.registerEvent(Type.BLOCK_FROMTO, blockListener, Priority.Highest, this);
pm.registerEvent(Type.BLOCK_IGNITE, blockListener, Priority.Highest, this);