static void Postfix(Thing item) { ExtendedDataStorage store = Base.Instance.GetExtendedDataStorage(); if (store != null && item is ThingWithComps eq && store.TryGetExtendedDataFor(eq, out ExtendedThingWithCompsData result)) { store.DeleteExtendedDataFor(eq); } }