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

@ -149,7 +149,7 @@ local function may_replace(pos, player)
end
local drop = function(pos, itemstack)
local obj = core.add_item(pos, itemstack:take_item(itemstack:get_count()))
local obj = minetest.add_item(pos, itemstack:take_item(itemstack:get_count()))
if obj then
obj:setvelocity({
x = math.random(-10, 10) / 9,