CHange on inventory-system

This commit is contained in:
VegaZ
2018-12-03 17:16:54 +01:00
parent 822037db91
commit 8663e31f5f
2 changed files with 7 additions and 7 deletions

View File

@@ -130,6 +130,7 @@ namespace reallife_gamemode.Server.Events
var currentItemWeight = iItem.Gewicht * item.Amount;
inventoryWeight += currentItemWeight;
items[userItems.IndexOf(item)] = new string[5];
items[userItems.IndexOf(item)][0] = iItem.Name;
items[userItems.IndexOf(item)][1] = iItem.Description;
items[userItems.IndexOf(item)][2] = iItem.Gewicht.ToString();