mirror of
https://github.com/songoda/EpicFarming.git
synced 2024-11-27 21:15: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 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
boolean mate1 = false;
|
||||||
for (Map.Entry<EntityType, Long> entry : counts.entrySet()) {
|
for (Map.Entry<EntityType, Long> entry : counts.entrySet()) {
|
||||||
boolean mate1 = false;
|
|
||||||
|
|
||||||
for (LivingEntity entity : entities) {
|
for (LivingEntity entity : entities) {
|
||||||
if (entry.getKey() != entity.getType()) continue;
|
if (entry.getKey() != entity.getType()) continue;
|
||||||
@ -107,6 +107,7 @@ public class ModuleAutoBreeding extends Module {
|
|||||||
}
|
}
|
||||||
handleBreed(entity);
|
handleBreed(entity);
|
||||||
mate1 = true;
|
mate1 = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user