getpos to get_pos

This commit is contained in:
TenPlus1
2017-10-09 15:16:05 +01:00
parent 3b72ac1357
commit 0db8d4b263
5 changed files with 7 additions and 7 deletions

View File

@ -76,7 +76,7 @@ mobs:register_mob("mobs_animal:bunny", {
end,
on_spawn = function(self)
local pos = self.object:getpos() ; pos.y = pos.y - 1
local pos = self.object:get_pos() ; pos.y = pos.y - 1
-- white snowy bunny
if minetest.find_node_near(pos, 1,