Deadrik / TFCraft

TerraFirmaCraft
GNU General Public License v3.0
204 stars 142 forks source link

Added public access to the maximum amount of food to be eaten #817

Closed StrayWolfe closed 8 years ago

StrayWolfe commented 8 years ago

Added public access to the maximum amount of food that can be eaten of a food or meal. Removed resulting redundant method from Itemsandwich. Has no impact on game play, allows access for add-on compatibility.

Kittychanley commented 8 years ago

The inconsistency is a bit confusing for me. Why have the food method return the item, but not the meal method? Why make the variable public if the intended behavior is for devs to use the setter?

StrayWolfe commented 8 years ago

I've decided to approach cross mod compatibility on an as needed basis rather than altering TFC code.