mirror of
https://github.com/songoda/EpicFarming.git
synced 2024-11-30 14:33:28 +01:00
Fixed auto breeding issue.
This commit is contained in:
parent
88e67298e8
commit
f9a95a920a
@ -61,8 +61,8 @@ public class ModuleAutoBreeding extends Module {
|
||||
}
|
||||
|
||||
|
||||
for (Map.Entry<EntityType, Long> entry : counts.entrySet()) {
|
||||
boolean mate1 = false;
|
||||
for (Map.Entry<EntityType, Long> entry : counts.entrySet()) {
|
||||
|
||||
for (LivingEntity entity : entities) {
|
||||
if (entry.getKey() != entity.getType()) continue;
|
||||
@ -107,6 +107,7 @@ public class ModuleAutoBreeding extends Module {
|
||||
}
|
||||
handleBreed(entity);
|
||||
mate1 = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user