forked from VoxeLibre/VoxeLibre
Fix crash when train cars leave track
This commit is contained in:
parent
01f168a511
commit
98b361a35e
|
@ -121,6 +121,7 @@ end
|
|||
local function detach_minecart(staticdata)
|
||||
handle_cart_leave(staticdata, staticdata.connected_at, staticdata.dir)
|
||||
staticdata.connected_at = nil
|
||||
mod.break_train_at(staticdata)
|
||||
|
||||
local luaentity = mcl_util.get_luaentity_from_uuid(staticdata.uuid)
|
||||
if luaentity then
|
||||
|
|
Loading…
Reference in New Issue