summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/com/earth2me/essentials
diff options
context:
space:
mode:
authorementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-06-05 21:36:47 +0000
committerementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-06-05 21:36:47 +0000
commit3aa78a78df3b263fbda842d076e90c16c156a295 (patch)
treeda7aa289276a7be9eb258deb758b466303fe5f5c /EssentialsProtect/src/com/earth2me/essentials
parent3c05ce0d634af8799c34e695167028e44bbe7b19 (diff)
downloadEssentials-3aa78a78df3b263fbda842d076e90c16c156a295.tar
Essentials-3aa78a78df3b263fbda842d076e90c16c156a295.tar.gz
Essentials-3aa78a78df3b263fbda842d076e90c16c156a295.tar.lz
Essentials-3aa78a78df3b263fbda842d076e90c16c156a295.tar.xz
Essentials-3aa78a78df3b263fbda842d076e90c16c156a295.zip
[trunk] Protect, add missing listener
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1587 e251c2fe-e539-e718-e476-b85c1f46cddb
Diffstat (limited to 'EssentialsProtect/src/com/earth2me/essentials')
-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 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()))