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

defaultSpoilItem in serverconfig doesn't work #6

Closed Minothilos closed 3 years ago

Minothilos commented 3 years ago

General Info

Client Info

Issue Description

The "defaultSpoilItem" config option in serverconfig doesn't work

Reproduce Steps

Start a new world, change defaultSpoilItem in the serverconfig (tested with "crockpot:wet_goop" and "minecraft:dirt") restart game, put vanilla food item in inventory (tested with vanilla carrots and bread), wait for it to spoil. It will always spoil into rotten flesh, instead of specified item.

Additional Information

Server config for spoil: https://pastebin.com/7FsPvJ9G

Mrbysco commented 3 years ago

Have a log? As it should throw an error if it were to revert to rotten flesh

Mrbysco commented 3 years ago

I have changed the config to be a common config (aka one that goes in the regular config folder) as apparently server-configs don't load early enough (for my use-case)

Mrbysco commented 3 years ago

If you could test if https://github.com/Mrbysco/Spoiled/releases/tag/1.3.4 fixes your issue

Minothilos commented 3 years ago

The new config works as intended, thanks!