diff options
author | ementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-03-31 22:20:53 +0000 |
---|---|---|
committer | ementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-03-31 22:20:53 +0000 |
commit | fb8086996112b8eeec916ad8070513dcc198aaf6 (patch) | |
tree | 55ef0f63c5cd4fd8d318a292c65923486196820e /EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java | |
parent | 6416041d2233da8c6fc4a9ca0ffb738f2cbbfa08 (diff) | |
download | Essentials-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.java | 2 |
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); |