aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index f61a566..c1a4f5a 100644
--- a/init.lua
+++ b/init.lua
@@ -101,7 +101,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:getpos(), "mobs:saddle")
end
-- attach player to horse