Fixed a lot of the issues we addressed on Monday

This commit is contained in:
Melbyj1125
2022-03-09 02:16:56 -06:00
parent 03a96b8c67
commit 7ae4b643a1
31 changed files with 161 additions and 222 deletions

View File

@@ -77,4 +77,10 @@ public class PlayerInventory : NetworkBehaviour
AddItem(allItems[itemName]);
}
}
public void ClearInventory(){
foreach(KeyValuePair<string, Item> item in PlayerItemDict){
RemoveItem(item.Value);
}
}
}