Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

Inventory API change after update?

$
0
0
After the update, my inventory script stopped working. The code checker says "The type or member 'string MyObjectBuilder_Base.SubtypeName' is prohibited.'" The code in question is

Code:
var itemList = bl[i].GetInventory(0).GetItems(); 
  for(int j = 0;j<itemList.Count;++j){ 
  var it = itemList[j]; 
  string its = it.Content.SubtypeName + " " + ((it.Content.TypeId.ToString().Contains("Ingot") || 
  it.Content.TypeId.ToString().Contains("Ore")) ? it.Content.TypeId.ToString().Remove(0,16) :...
Inventory API change after update?

Viewing all articles
Browse latest Browse all 903

Trending Articles