Exemplo n.º 1
0
        public bool IsEmpty(EntityUid uid, DrinkComponent?component = null)
        {
            if (!Resolve(uid, ref component))
            {
                return(true);
            }

            return(_solutionContainerSystem.DrainAvailable(uid) <= 0);
        }