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:
parent
2b8af6a3e0
commit
70b8c242e2
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user