mirror of
https://github.com/GTNewHorizons/BetterP2P.git
synced 2026-11-22 21:09:38 +00:00
Changes how the advanced memory card internally stores P2P Tunnel information: - Now uses its own custom class. No more sortedInfos/infos discrepency; you can now access the sorted and filtered fields only. The master map cannot be accessed directly. - P2PInfo now uses a hash, which removes AE2 P2P tunnel dupes. It depends on the coordinates, facing, and dimension information. - Corresponding equals() function implemented for P2PInfo. - Send the entire P2P list when binding. A new packet type is likely in order, though. - The rest of the changes is to fit this new data structure into the existing infrastructure. Hopefully this makes the mod more resilient to crashes.