1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-28 04:40:22 +02:00

Use minetest instead of core namespace, discourage via luacheck

This commit is contained in:
Tim
2016-08-05 14:55:43 +02:00
committed by paramat
parent b408e9cce6
commit 76211624ac
3 changed files with 3 additions and 3 deletions

View File

@ -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