forked from MineClone5/MineClone5
Merge remote-tracking branch 'origin/testing' into compatibility
This commit is contained in:
commit
7a5d632449
|
@ -52,7 +52,11 @@ local function get_visual_size(obj)
|
||||||
return boat_visual_size
|
return boat_visual_size
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return obj:get_properties().visual_size
|
local obj_properties = obj:get_properties()
|
||||||
|
if not obj_properties then
|
||||||
|
return boat_visual_size
|
||||||
|
end
|
||||||
|
return obj_properties.visual_size
|
||||||
end
|
end
|
||||||
|
|
||||||
local function set_attach(boat)
|
local function set_attach(boat)
|
||||||
|
|
Loading…
Reference in New Issue