mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
Fixed a lot of the issues we addressed on Monday
This commit is contained in:
@@ -77,4 +77,10 @@ public class PlayerInventory : NetworkBehaviour
|
||||
AddItem(allItems[itemName]);
|
||||
}
|
||||
}
|
||||
|
||||
public void ClearInventory(){
|
||||
foreach(KeyValuePair<string, Item> item in PlayerItemDict){
|
||||
RemoveItem(item.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user