ok i tested now i remove

This commit is contained in:
JohnCorby 2022-11-14 18:11:21 -08:00
parent c1af8cb2ed
commit d1da2faf6a

View File

@ -56,12 +56,6 @@ public class QSBItem<T> : WorldObject<T>, IQSBItem
_lastSector = sector.GetWorldObject<QSBSector>();
}
// TODO test and then remove
if (!_lastParent)
{
DebugLog.DebugWrite($"{this} - parent for item {AttachedObject} at {AttachedObject.DeterministicPath()} is null! wtf!", MessageType.Error);
return;
}
var socket = _lastParent.GetComponent<OWItemSocket>();
if (socket != null)
{