mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Pixies (friendly and hostile) are now forced to despawn if they exist for more than 10 seconds.
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user