function params.beard_sack_1.itemtestfn(container, item, slot) if slot and slot ~= 1 then return end if item.components.edible then for i,foodtype in ipairs(FOODGROUP.OMNI.types) do if foodtype == item.components.edible.foodtype then return true end end end end
The itemtestfn for container data is a function that runs on client and server. However the functions for the beard sack reference server-side components.
Implementation should be changed to use tags instead.
Steps to Reproduce
1. Try to put edible in beard as client
2. Cant
-
2
There are no comments to display.
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