1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2024-12-23 09:20:26 +01:00

getpos to get_pos

This commit is contained in:
TenPlus1 2017-10-09 15:18:07 +01:00
parent 457be1dd82
commit 0f33e5c02d

View File

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