From d1da2faf6a5cad2ab11167dc7d5ed6cf84f029bc Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Mon, 14 Nov 2022 18:11:21 -0800 Subject: [PATCH] ok i tested now i remove --- QSB/ItemSync/WorldObjects/Items/QSBItem.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/QSB/ItemSync/WorldObjects/Items/QSBItem.cs b/QSB/ItemSync/WorldObjects/Items/QSBItem.cs index 9ca206f5..c1417b32 100644 --- a/QSB/ItemSync/WorldObjects/Items/QSBItem.cs +++ b/QSB/ItemSync/WorldObjects/Items/QSBItem.cs @@ -56,12 +56,6 @@ public class QSBItem : WorldObject, IQSBItem _lastSector = sector.GetWorldObject(); } - // 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(); if (socket != null) {