Jump to content

Clients can not put food items in Wilson's beard.

  • Pending
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

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

  • Like 2

User Feedback

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...