FTBTeam / FTB-Mods-Issues

Any mod issues, be it FTB Teams, Quests or any other of our mods can be reported here!
21 stars 1 forks source link

Veinmining doesn't require actual amount of food #443

Closed VanyaBaou closed 1 year ago

VanyaBaou commented 2 years ago

Veinmining is only checking for "food isn't 0" when doing an operation This means people can have 0 food and 0 saturation and do this:

desht commented 1 year ago

Yep, the issue here is that Ultimine adds exhaustion and then checks the player's food level. But the food level isn't updated until the next tick. So we need to compare current exhaustion vs. current food+saturation, and stop mining if exhaustion is high enough that it would cause the player to reach food level 0.

desht commented 1 year ago

Fixed in 1902.4.0 release