Open Sythelux opened 1 week ago
The durability that is crashing check should only happen if the item is being destroyed, since that is when the repair features of the mod come into play. The issue is not that smithing plus doesn't support the item, but that wild farming does fancy stuff with pans. They normally have 1 durability so that's why this get triggered, any damage on it should break the item. I will have to check the wild farming code to see how it handles this, I doubt it just gives more durability to the pan since this code shouldn't run in that case. If it uses some patch that specifically detects this recipe then the issue might be with that specific unexpected interaction (base game never does that, so I never account for durability being different).
A weirder issue is that this should abort regardless because the is not made from metal... unless some mod adds some recipe that uses a smithed metal item (not a knife, but something like a chisel?) then my metal system might (?) detect it as metal?
Except I'm pretty sure it shouldn't since you have to manually specify tool types in the config and pan is not one of them, so none of this should run regardless...
Could you post the files client-debug.txt
and server-debug.txt
after the crash happens? I think those might hold some information on what could be going wrong. If it found a metal item in the pan somehow, it should appear there. If it didn't it should also say that.
I was able to do it in single player as well, since the single player also starts a server I have both logs. Interestingly enough it is not crashing, but the exception still occurs.
I debugged it and indeed something is changing the item stack of the pan to have attributes, but no Item inside.
but a block!
Not sure if it would be enough to just make it a itemStack.Attributes.GetInt("durability", itemStack.Item?.Durability ?? itemStack.Block?.Durability ?? 0)
, though?
Whenever I try to craft the shapeless seed crafting from Wild Farming Revival my game crashes with the error below. It seems that the issue is not with Wild farming, but with SmithingPlus checking for durability on an Item it doesn't support.
The recipe in question: