From 7876f5018a19f208c4cdc80cb37a593c85c83f39 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 9 Oct 2017 15:17:14 +0100 Subject: [PATCH] getpos to get_pos --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 73923cf..241899d 100644 --- a/init.lua +++ b/init.lua @@ -111,7 +111,7 @@ mobs:register_mob("mob_horse:horse", { if inv:room_for_item("main", "mobs:saddle") then inv:add_item("main", "mobs:saddle") else - minetest.add_item(clicker:getpos(), "mobs:saddle") + minetest.add_item(clicker:get_pos(), "mobs:saddle") end -- attach player to horse @@ -155,7 +155,7 @@ local apply_shoes = function(name, itemstack, obj, shoes, speed, jump, reverse) if ent and ent.name and ent.name == "mob_horse:horse" then if ent.shoed then - minetest.add_item(mob:getpos(), ent.shoed) + minetest.add_item(mob:get_pos(), ent.shoed) end ent.max_speed_forward = speed