vytas2015 Posted January 27, 2019 Share Posted January 27, 2019 i create containers widgets all work fine but when i try eat food inside game crash [00:01:06]: [string "scripts/components/container_replica.lua"]:209: attempt to index field 'inventoryitem' (a nil value) writing crash with container replica but i use in script local function OnEntityReplicated(inst) if inst.replica.container ~= nil then inst.replica.container:WidgetSetup(inst.prefab) end end Link to comment https://forums.kleientertainment.com/forums/topic/102260-how-i-can-fix-containers/ Share on other sites More sharing options...
Hornete Posted January 27, 2019 Share Posted January 27, 2019 Bruh did you even read the last comment I posted on your last post?Post this in the mod and tools section. Link to comment https://forums.kleientertainment.com/forums/topic/102260-how-i-can-fix-containers/#findComment-1148255 Share on other sites More sharing options...
Developer ImDaMisterL Posted February 7, 2019 Developer Share Posted February 7, 2019 Moved to DST - Mods and Tools. Link to comment https://forums.kleientertainment.com/forums/topic/102260-how-i-can-fix-containers/#findComment-1151840 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now