summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-03-23 10:16:38 +0000
committerKHobbits <rob@khobbits.co.uk>2012-03-23 10:16:38 +0000
commit6dbb2d405ec485f0c0f336c534194a66ecf82ecd (patch)
treed87afd03d579702c542fbacc8cdb034b2b33c5aa /EssentialsProtect
parentad22f3d77024ea08396b052b2ed8116287011855 (diff)
downloadEssentials-6dbb2d405ec485f0c0f336c534194a66ecf82ecd.tar
Essentials-6dbb2d405ec485f0c0f336c534194a66ecf82ecd.tar.gz
Essentials-6dbb2d405ec485f0c0f336c534194a66ecf82ecd.tar.lz
Essentials-6dbb2d405ec485f0c0f336c534194a66ecf82ecd.tar.xz
Essentials-6dbb2d405ec485f0c0f336c534194a66ecf82ecd.zip
Adding missing entities to Protect Spawn Blacklist
Diffstat (limited to 'EssentialsProtect')
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java
index fe3cadbbe..1868e20c1 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java
@@ -274,7 +274,7 @@ public class EssentialsProtectEntityListener implements Listener
{
return;
}
- final CreatureType creature = event.getCreatureType();
+ final EntityType creature = event.getEntityType();
if (creature == null)
{
return;