Skip to content

Commit

Permalink
reset restaurant here
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Nov 17, 2024
1 parent 0ebcb14 commit 1552ff4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -400,12 +400,14 @@ private EatingState goToHut()
final ItemStorage storageToGet = FoodUtils.checkForFoodInBuilding(citizen.getCitizenData(), null, buildingWorker);
if (storageToGet != null && InventoryUtils.transferItemStackIntoNextBestSlotInItemHandler(buildingWorker, storageToGet, citizen.getInventoryCitizen()))
{
restaurant = null;
return EAT;
}
}
return SEARCH_RESTAURANT;
}

restaurant = null;
return GO_TO_HUT;
}

Expand Down

0 comments on commit 1552ff4

Please sign in to comment.