branchrust_reboot/main/fix_baseentity_query_nrecancel
7 Commits over 30 Days - 0.01cph!
Extra hardening to fix exception inside DoServerDestroy() by checking if children are null before calling child.OnParentRemoved()
Extra hardening by checking if entity is null inside SocketMod_PlantCheck too
Don't just skip over entities that are destroyed in BaseEntity.Query, make sure they are removed in the narrow phase
merge from main -> fix_baseentity_query_nre
Call BaseEntity.Query.Server.Remove() earlier inside DoServerDestroy so if it does throw an NRE later in OnServerDestroy it's still removed from the lookup grid
Fix BaseEntity.Query not checking if the entity is null / destroyed (to prevent entities that fail to be destroyed from breaking queries)
Fix DeepSeaManager using Destroy() when killing the deep sea after it's disabled instead of Kill()
- probably not the cause but better to be safe