Skip to content

Commit

Permalink
also hotfix netherminer duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Dec 2, 2023
1 parent ec30a3c commit e42667b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -885,10 +885,9 @@ protected void attemptToEat()
itemFood.getNutrition() * (1.0 + worker.getCitizenColonyHandler().getColony().getResearchManager().getResearchEffects().getEffectStrength(SATURATION));

citizenData.increaseSaturation(satIncrease / 2.0);
citizenData.getInventory().extractItem(slot, 1, false);

final ItemStack containerItem = stack.finishUsingItem(world, worker);
if (!containerItem.isEmpty())
if (!containerItem.isEmpty() && containerItem.getItem() != stack.getItem())
{
if (citizenData.getInventory().isFull())
{
Expand Down

0 comments on commit e42667b

Please sign in to comment.