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
commitc46f14665c0eeea0ebf64251e4cc773d7d2c8a55 (patch)
tree7e516431ccae55d74e9a829ba4854fe501531861 /EssentialsProtect
parent49cb482ca52f8138fc98a49db11d201f3e1e179e (diff)
downloadEssentials-c46f14665c0eeea0ebf64251e4cc773d7d2c8a55.tar
Essentials-c46f14665c0eeea0ebf64251e4cc773d7d2c8a55.tar.gz
Essentials-c46f14665c0eeea0ebf64251e4cc773d7d2c8a55.tar.lz
Essentials-c46f14665c0eeea0ebf64251e4cc773d7d2c8a55.tar.xz
Essentials-c46f14665c0eeea0ebf64251e4cc773d7d2c8a55.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;