diff --git a/mods/ITEMS/mcl_boats/init.lua b/mods/ITEMS/mcl_boats/init.lua index 9aeb0e6e03..56b1e9c542 100644 --- a/mods/ITEMS/mcl_boats/init.lua +++ b/mods/ITEMS/mcl_boats/init.lua @@ -120,10 +120,9 @@ function boat.on_punch(self, puncher) end if not self.driver then self.removed = true - local inv = puncher:get_inventory() -- Drop boat as item on the ground after punching if not minetest.setting_getbool("creative_mode") then - minetest.add_item(self.object:getpos(), leftover) + minetest.add_item(self.object:getpos(), self._itemstring) end self.object:remove() end