mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-10-01 05:16:55 -05:00
Still trying to fix the item bug
This commit is contained in:
@@ -72,6 +72,8 @@ public class PlayerInventory : NetworkBehaviour
|
||||
if (items.Count <= 0) { return; }
|
||||
|
||||
foreach(string itemName in items){
|
||||
if (itemName == "" || itemName == " ") { continue; }
|
||||
|
||||
AddItem(allItems[itemName]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user