IMyInventory.TransferItemTo always returns true

Reika Kalseki shared this bug 5 years ago
Outdated

Full definition


bool VRage.Game.ModAPI.Ingame.IMyInventory.TransferItemTo(IMyInventory dstInventory, MyInventoryItem item, MyFixedPoint? amount = default(MyFixedPoint?));


This is, per the doc, to "Returns: True in case item was successfully transferred, false otherwise".


Always returning true, even if the transfer failed (eg a full target), means inventory management scripts break horribly.

Replies (1)

photo
1

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.

Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department

Leave a Comment
 
Attach a file