getpos to get_pos

This commit is contained in:
TenPlus1 2017-10-09 15:18:07 +01:00
parent 457be1dd82
commit 0f33e5c02d
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ mobs:register_mob("mobs_monster:sand_monster", {
},
--[[
custom_attack = function(self, p)
local pos = self.object:getpos()
local pos = self.object:get_pos()
minetest.add_item(pos, "default:sand")
end,
]]