Fix missing get_meta

This commit is contained in:
cx384 2024-01-08 15:36:30 +01:00
parent e6750afec8
commit ff85a0e32d
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ function technic.register_can(d)
return itemstack
end,
on_refill = function(stack)
local meta = technic.get_stack_meta_compat_cans(stack)
meta:set_int("can_level", data.can_capacity)
set_can_wear(stack, data.can_capacity, data.can_capacity)
return stack