From 754b93026bdcfee2d83087336a24e183dd7ca77b Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 28 Feb 2017 02:19:35 +0100 Subject: [PATCH] Fix undeclared global in mcl_boats --- mods/ITEMS/mcl_boats/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_boats/init.lua b/mods/ITEMS/mcl_boats/init.lua index c46f9ab311..7469e1c653 100644 --- a/mods/ITEMS/mcl_boats/init.lua +++ b/mods/ITEMS/mcl_boats/init.lua @@ -50,8 +50,8 @@ function boat.on_activate(self, staticdata, dtime_s) end end -function boat.get_staticdata() - return tostring(v) +function boat.get_staticdata(self) + return tostring(self._v) end function boat.on_punch(self, puncher, time_from_last_punch, tool_capabilities, direction)