Fix crash if wooden buckets or barrels are disabled