Mrbysco / Spoiled

Spoiling the end of your food supply since 2020
https://www.curseforge.com/minecraft/mc-mods/spoiled
MIT License
7 stars 5 forks source link

Food in inventory doesn't dissapear when fully spoilt #5

Closed Minothilos closed 3 years ago

Minothilos commented 3 years ago

General Info

Client Info

Issue Description

Food that has fully spoiled in player inventory doesn't dissapear but instead continues to produce rotten flesh (or other set product, this seems to be the case for all spoiling, including the ones already supported by the mod (vanilla food) and food added by crafttweaker. Food in inventories that spoil seem to dissapear as intended and produce a product.

)

Reproduce Steps

Add food into inventory (I've tested with carrots, bread, [wheat, mushrooms and pumpkins] with spoiling added by CT and [strawberries and sweet berry cake] with spoiling added by CT) wait for it to spoil and watch the rotten flesh multiply.

Additional Information

This is the script used to add custom spoiling. I don't know if it's super messy but top part is the mods, second part is all items from crockpot (I added these seperatly since I wanted items to spoil into wet goop and wet goop to not spoil). Last is a bunch of inedible items that I wanted to spoil for balance reasons. Not sure if any of this could cause the issue but thought it was worth including. https://pastebin.com/zZdXWaBy

Modlist: https://pastebin.com/VK25Qn2n