DFMainSystem.Get().DispatchItemConsumedEvent(TweakDBInterface.GetItemRecord(itemData.GetID().GetTDBID()), false);
now produces error:
'ItemID' has no member named 'GetTDBID'
Per @jac3km4 :
ItemId actually doesn't have an instance method with name GetTBID, the code is meant to dispatch a static method which is a special feature that's not implemented yet, but you can still call it directly ItemID.GetTBID(...), this will be fixed soon though and you can create an issue
now produces error:
'ItemID' has no member named 'GetTDBID'Per @jac3km4 :