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:
@@ -595,7 +595,7 @@ public class EntityEventHandler implements Listener
|
|||||||
if(entity instanceof Monster) return true;
|
if(entity instanceof Monster) return true;
|
||||||
|
|
||||||
EntityType type = entity.getType();
|
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)
|
if(type == EntityType.RABBIT)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user