mirror of
https://github.com/songoda/EpicFarming.git
synced 2025-03-11 06:13:58 +01:00
Fix breed cap
This commit is contained in:
parent
dd9eea801a
commit
d6e050a033
@ -54,7 +54,7 @@ public class ModuleAutoBreeding extends Module {
|
||||
|
||||
List<LivingEntity> entities = new ArrayList<>(entitiesAroundFarm);
|
||||
Collections.shuffle(entities);
|
||||
if (entities.size() >= this.autoBreedCap) {
|
||||
if (entities.size() < this.autoBreedCap) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user