EasyAPI icon indicating copy to clipboard operation
EasyAPI copied to clipboard

Inventory.GetItems()

Open SKO85 opened this issue 6 years ago • 0 comments

Hi,

It seems there is an issue with the line 1341 of the EasyAPI code. List<IMyInventoryItem> Items = Inventory.GetItems();

The Inventory.GetItems() seems to be a void method that required a List<MyInventoryItem> and not returning any type. Also there is inconsistency in the GetItems() method as the parameters is not a list of IMyInventoryItem, but a list of MyInventoryItem. The script therefore does not work.

Might be that the API has changed.

Kind regards, SKO

SKO85 avatar Nov 15 '19 22:11 SKO85