Fix InventoryDef.Properties causing NullReferenceException#748
Fix InventoryDef.Properties causing NullReferenceException#748peterdwdawe wants to merge 1 commit intoFacepunch:masterfrom
Conversation
…lReferenceException, and returns properties correctly.
|
Why is this not merged yet? :) I really need this to work, I cant fetch the properties of items in steam inventory and I really need that to work. Plz plz merge |
|
Is there any way for me to use this? |
I don't know if this repo is still active, which is probably why you arent getting any responses. This fix was pretty straightforward though. Just need to add a null check in inventorydef.cs (take a look at my commit). I'd recommend cloning the repo and building it yourself, that was what I ended up doing. If you're using unity like me then you can just replace the old files with the new ones you just built, keeping all the old meta files, etc. |
|
Well, it turned out I was just doing it all wrong. |
Fixes #747