Belt Balancer 2


Adds Balancer Parts, that can be put together, to balance all adjusting lanes. Updated for better performance and 2.0

Utilities
10 months ago
2.0
16.7K
Logistics

b Crash when removing the balancer

10 months ago

Hey, when removing one balancer, I get this error:

"Error while running event belt-balancer-2::on_player_mined_entity (ID 68)
belt-balancer-2/objects/part.lua:265: attempt to index local 'belt' (a nil value)
stack traceback:
belt-balancer-2/objects/part.lua:265: in function 'remove'
belt-balancer-2/control.lua:145: in function <belt-balancer-2/control.lua:134>"

This happens every time when removing this one specific device—each time I load the save. Could you manage to fix it? Thanks in advance!

10 months ago
(updated 10 months ago)

Probably related to mining belt balancer, when placed directly to splitter.

Error while running event belt-balancer-2::on_player_mined_entity (ID 68)
__belt-balancer-2__/objects/part.lua:215: attempt to index local 'belt' (a nil value)
stack traceback:
    __belt-balancer-2__/objects/part.lua:215: in function 'remove'
    __belt-balancer-2__/control.lua:145: in function <__belt-balancer-2__/control.lua:134>

New response