Polar bears are not protected inside land claims.

Because they can sometimes be aggressive, they could be used to kill
other players in a non-pvp environment.
This commit is contained in:
ryanhamshire 2016-08-12 20:56:02 -07:00
parent 2b8af6a3e0
commit 70b8c242e2

View File

@ -595,7 +595,7 @@ public class EntityEventHandler implements Listener
if(entity instanceof Monster) return true;
EntityType type = entity.getType();
if(type == EntityType.GHAST || type == EntityType.MAGMA_CUBE || type == EntityType.SHULKER) return true;
if(type == EntityType.GHAST || type == EntityType.MAGMA_CUBE || type == EntityType.SHULKER || type == EntityType.POLAR_BEAR) return true;
if(type == EntityType.RABBIT)
{