mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 19:58:34 +01:00
increase the maximum allowed amount of animals
This commit is contained in:
parent
5ab72c60c6
commit
fc1723a78d
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ public class AnimalEffect implements IDrainSpotEffect {
|
||||||
AxisAlignedBB bb = new AxisAlignedBB(pos).grow(dist);
|
AxisAlignedBB bb = new AxisAlignedBB(pos).grow(dist);
|
||||||
|
|
||||||
List<EntityAnimal> animals = world.getEntitiesWithinAABB(EntityAnimal.class, bb);
|
List<EntityAnimal> animals = world.getEntitiesWithinAABB(EntityAnimal.class, bb);
|
||||||
if (animals.size() >= 40)
|
if (animals.size() >= 200)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (world.getTotalWorldTime() % 200 == 0) {
|
if (world.getTotalWorldTime() % 200 == 0) {
|
||||||
|
|
Loading…
Reference in a new issue