fix retard (#706)

This commit is contained in:
Valtos
2024-09-23 21:03:07 +03:00
committed by GitHub
parent e2a8fdfde8
commit b1461b3645
2 changed files with 3 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ public sealed class MeatyOreUIController : UIController
var controlledEntity = _playerManager.LocalPlayer!.ControlledEntity;
if (controlledEntity == null)
if (!controlledEntity.HasValue)
return false;
if (!_entityManager.HasComponent<HumanoidAppearanceComponent>(controlledEntity))