mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
Fix lightning boat crash
This commit is contained in:
parent
d738eb0554
commit
adfbf4bc64
@ -109,6 +109,7 @@ local function attach_object(self, obj)
|
||||
end
|
||||
|
||||
local function detach_object(obj, change_pos)
|
||||
if not obj or not obj:get_pos() then return end
|
||||
obj:set_detach()
|
||||
obj:set_properties({visual_size = get_visual_size(obj)})
|
||||
if obj:is_player() then
|
||||
|
Loading…
Reference in New Issue
Block a user