Pixies (friendly and hostile) are now forced to despawn if they exist for more than 10 seconds.

This commit is contained in:
Vasco Lavos committed 2015-08-27 20:17:26 +01:00
1 parent 609aa97a87
commit 8e43ab357d
1 file changed
+1 -1
@@ -105,7 +105,7 @@ public class EntityPixie extends EntityFlyingCreature {
public void onEntityUpdate() {
super.onEntityUpdate();
if(getAttackTarget() == null && ticksExisted > 100)
if(getAttackTarget() == null || ticksExisted > 200)
die();
boolean dark = getType() == 1;