1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-20 21:41:32 +02:00

Adding missing entities to Protect Spawn Blacklist

This commit is contained in:
KHobbits
2012-03-23 10:16:38 +00:00
parent ad22f3d770
commit 6dbb2d405e
2 changed files with 17 additions and 16 deletions

View File

@@ -274,7 +274,7 @@ public class EssentialsProtectEntityListener implements Listener
{
return;
}
final CreatureType creature = event.getCreatureType();
final EntityType creature = event.getEntityType();
if (creature == null)
{
return;