Use minetest instead of core namespace, discourage via luacheck
This commit is contained in:
parent
b408e9cce6
commit
76211624ac
3 changed files with 3 additions and 3 deletions
|
@ -141,7 +141,7 @@ minetest.register_craftitem("bucket:bucket_empty", {
|
|||
else
|
||||
local pos = user:getpos()
|
||||
pos.y = math.floor(pos.y + 0.5)
|
||||
core.add_item(pos, liquiddef.itemname)
|
||||
minetest.add_item(pos, liquiddef.itemname)
|
||||
end
|
||||
|
||||
-- set to return empty buckets minus 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue