forked from MineClone5/MineClone5
#55 Fix boat visual size again
This commit is contained in:
parent
7dfe9a3356
commit
7ecf316c48
|
@ -46,7 +46,11 @@ local function get_visual_size(obj)
|
|||
end
|
||||
local luaentity = obj:get_luaentity()
|
||||
if luaentity then
|
||||
return luaentity._old_visual_size
|
||||
if luaentity._old_visual_size then
|
||||
return luaentity._old_visual_size
|
||||
else
|
||||
return boat_visual_size
|
||||
end
|
||||
end
|
||||
return obj:get_properties().visual_size
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue