mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
Make destroying boats with punch easier (#4159)
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4159 Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com> Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land> Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
This commit is contained in:
parent
d321b166ea
commit
f78ad93fd3
@ -168,7 +168,7 @@ end
|
|||||||
|
|
||||||
|
|
||||||
function boat.on_activate(self, staticdata, dtime_s)
|
function boat.on_activate(self, staticdata, dtime_s)
|
||||||
self.object:set_armor_groups({fleshy = 100})
|
self.object:set_armor_groups({fleshy = 125})
|
||||||
local data = minetest.deserialize(staticdata)
|
local data = minetest.deserialize(staticdata)
|
||||||
if type(data) == "table" then
|
if type(data) == "table" then
|
||||||
self._v = data.v
|
self._v = data.v
|
||||||
|
Loading…
Reference in New Issue
Block a user