Use minetest instead of core namespace, discourage via luacheck

This commit is contained in:
Tim
2016-08-09 03:47:27 +01:00
committed by paramat
parent b408e9cce6
commit 76211624ac
3 changed files with 3 additions and 3 deletions

No files matched your search

+1 -1
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,