mirror of
https://github.com/songoda/EpicFarming.git
synced 2025-02-18 21:41:31 +01:00
Fix breeding does not consume food
This commit is contained in:
parent
699ad5fa5a
commit
3431649918
@ -110,13 +110,13 @@ public class ModuleAutoBreeding extends Module {
|
||||
return;
|
||||
}
|
||||
|
||||
farm.removeMaterial(breedingItem.getType(), 2);
|
||||
if (stackSize > 1) {
|
||||
handleStackedBreed(entity);
|
||||
spawnParticlesAndAnimation(entity.getLocation(), farm.getLocation());
|
||||
} else {
|
||||
handleBreedNatural(entity);
|
||||
spawnParticlesAndAnimation(entity.getLocation(), farm.getLocation());
|
||||
}
|
||||
spawnParticlesAndAnimation(entity.getLocation(), farm.getLocation());
|
||||
mate1 = true;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user