diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-10-09 15:16:05 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-10-09 15:16:05 +0100 |
commit | 0db8d4b2639ece8f913079cb6e5499354fb1a0a9 (patch) | |
tree | 88aa769021c0d52612b611f07e430ffee3edc989 /bunny.lua | |
parent | 3b72ac1357dce4ce7bc7f05e3708c5c161abe0f9 (diff) |
getpos to get_pos
Diffstat (limited to 'bunny.lua')
-rw-r--r-- | bunny.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |