Closed norbby42 closed 2 months ago
I just noticed that GT_MetaTileEntity_Hatch_DroneDownLink#tryFindConnection does not break on registering with the first found drone centre. If there are 5 centres in range, it will establish a connection with all 5 (but not retain 1-4 locally).
Observation 2:
In GT_MetaTileEntity_Hatch_DroneDownLink#onPostTick, it calls HasConnection() to validate the connection to the Drone Centre, then if it fails every 10 seconds it nulls out its reference to the DroneConnection object and calls tryFindConnection to try to find a new one.
I'm betting that null'ing out the connection is what's allowing connections to stack up in Drone Centres - it doesn't remove the connection from its associated Drone Centre's connectionList.
This is all guesswork from reading GitHub. Sadly I'm not going to be in an environment where I could actually debug this for some time.
@RealSilverMoon
Your GTNH Discord Username
Quackers#6418
Your Pack Version
2.6.0-beta2
Your Server
Private Dedicated
Java Version
Java 17
Type of Server
Vanilla Forge
Your Expectation
Drone DownLinks would properly switch from 1 Drone Centre to another when the active centre is destroyed.
The Reality
Your Proposal
There's a bug of some kind, good luck!
Final Checklist