diff options
author | ementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-06-05 21:36:47 +0000 |
---|---|---|
committer | ementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-06-05 21:36:47 +0000 |
commit | f1b544a96f81c06bb2859d88fe96a00434107e29 (patch) | |
tree | e33e328a05176ae0da4891d7aaad2ad38c2a6618 | |
parent | 9a4ef7cd20c137c3f3af9bef13f1564c00ba5716 (diff) | |
download | Essentials-f1b544a96f81c06bb2859d88fe96a00434107e29.tar Essentials-f1b544a96f81c06bb2859d88fe96a00434107e29.tar.gz Essentials-f1b544a96f81c06bb2859d88fe96a00434107e29.tar.lz Essentials-f1b544a96f81c06bb2859d88fe96a00434107e29.tar.xz Essentials-f1b544a96f81c06bb2859d88fe96a00434107e29.zip |
[trunk] Protect, add missing listener
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1587 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java | 1 |
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 4518544ee..5eb6b00f8 100644 --- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java +++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java @@ -69,6 +69,7 @@ public class EssentialsProtect extends JavaPlugin implements IConf pm.registerEvent(Type.LIGHTNING_STRIKE, weatherListener, Priority.Highest, this); pm.registerEvent(Type.THUNDER_CHANGE, weatherListener, Priority.Highest, this); pm.registerEvent(Type.WEATHER_CHANGE, weatherListener, Priority.Highest, this); + pm.registerEvent(Type.ENTITY_TARGET, entityListener, Priority.Highest, this); reloadConfig(); ess.addReloadListener(this); if (!this.getDescription().getVersion().equals(Essentials.getStatic().getDescription().getVersion())) |