Skip to content

Conversation

@ALongStringOfNumbers
Copy link
Contributor

What:
Fixes TFC foods being eaten automatically by the QuarkTech suite but not replenishing hunger or saturation.

Closes #1053

Implementation Details:
TFC specifically overrides addStats(int, float) to do nothing here https://github.com/TerraFirmaCraft/TerraFirmaCraft/blob/1.12.x/src/main/java/net/dries007/tfc/api/capability/food/FoodStatsTFC.java#L68-L73

So instead we switch to the alternate addStats(ItemFood, ItemStack)

Outcome:
Fixes QuarkTech Suite eating TFC food but not replenishing saturation.

@ALongStringOfNumbers ALongStringOfNumbers added type: bug Something isn't working and removed status: do not merge PR should not be merged labels Nov 23, 2022
@ALongStringOfNumbers ALongStringOfNumbers merged commit 8f8478f into master Nov 23, 2022
@ALongStringOfNumbers ALongStringOfNumbers deleted the alson-TFC-food-fix branch November 23, 2022 01:05
@serenibyss serenibyss added this to the 2.5 milestone Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Incompatibility of QuarkTech Armor and TFC.

3 participants