Birgerev / Flatcraft

A retro 2D remake of Minecraft in Unity. Actively developed between 2019 - 2024
https://discord.gg/KbFKA5Z6Sr
6 stars 1 forks source link

Failed getting inventory with id '0' Error when respawning #1394

Open Birgerev opened 9 months ago

Birgerev commented 9 months ago

Failed getting inventory with id '0' UnityEngine.Debug:LogError (object) Inventory:Get (int) (at Assets/Scripts/Player/Inventory/Inventory.cs:72) PlayerInventoryHandler:GetInventory () (at Assets/Scripts/Player/PlayerInventoryHandler.cs:70) Player:UpdateAnimatorValues () (at Assets/Scripts/Player/Player.cs:292) LivingEntity:Tick () (at Assets/Scripts/Entities/LivingEntity.cs:53) Player:Tick () (at Assets/Scripts/Player/Player.cs:67) Entity:Update () (at Assets/Scripts/Entities/Entity.cs:98)