OhhLoz / HoneyPlus

Valheim mod to add new food items surrounding Honey
GNU General Public License v3.0
9 stars 5 forks source link

[Warning] Seeing "custom item HoneySausages already added" in client log #37

Closed gdragon-git closed 1 year ago

gdragon-git commented 1 year ago

Bepinex Version 5.4.2102 Valheim Version 0.214.305

HoneyPlus 5.2.0

Seeing

[Warning:Jotunn.Managers.ItemManager] [HoneyPlus] Custom item HoneySausages already added

on client side of load into the game.

Attaching a text file that has all the mods loaded before the warning. clientmods-loaded-beforeHoneyPlus.txt

OhhLoz commented 1 year ago

Thanks very much for the report and for the log file. This is a harmless warning that shouldn't affect any mods or even the running of HoneyPlus. It occurs as there are 2 recipes for the Sausages it tries to add it twice. It should also give the same error for Tar/Royal Jelly I believe and for the Iron Cooking Station.

gdragon-git commented 1 year ago

But doesn't it mean that the conflict prevents one of the mods from adding its own unique recipe for HoneySausages? (In this case, HoneyPlus)

OhhLoz commented 1 year ago

No it's just trying to add the item again that gives that error, not the recipe. It's that the code doesn't check if the item has been added already so it gives that error.