MyItemInfo.MaxStackAmount is never set, always has default value
Outdated
It's always set to 9223372036854.775807 (Max value of MyFixedPoint)
Code to replicate:
Run on grid with a Small Cargo Container by the same name.
void Main() { var container = GridTerminalSystem.GetBlockWithName("Small Cargo Container"); var items = new List<MyInventoryItem>(); container.GetInventory(0).GetItems(items); foreach (var item in items) { Echo(item.Type.SubtypeId + " " + item.Type.GetItemInfo().MaxStackAmount); } }
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
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
Replies have been locked on this page!