knoxfighter / belt-balancer

MIT License
3 stars 12 forks source link

entity.destroy() method causing a crash #14

Open logimy opened 1 year ago

logimy commented 1 year ago

Description

Whenever the game tries to destroy with .destroy() method the balancer, it crashes the game.

Video

https://giant.gfycat.com/DimSlightGnu.mp4

Log

521.207 Error MainLoop.cpp:1288: Exception at tick 12046: The mod Belt Balancer (3.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event belt-balancer::on_nth_tick(8)
LuaTransportLine API call when LuaTransportLine was invalid.
stack traceback:
    [C]: in function '__len'
    __belt-balancer__/objects/balancer.lua:198: in function 'run'
    __belt-balancer__/helper/message-handler.lua:33: in function <__belt-balancer__/helper/message-handler.lua:31>