mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 17:07:22 +01:00
heave API to v3, fix some stuff in making connections
This commit is contained in:
parent
145dc50f8a
commit
0b194b3632
3 changed files with 75 additions and 40 deletions
|
|
@ -58,7 +58,7 @@ namespace MareSynchronos.Utils
|
|||
|
||||
public bool IsLoggedIn => _clientState.IsLoggedIn;
|
||||
|
||||
public bool IsPlayerPresent => _clientState.LocalPlayer != null;
|
||||
public bool IsPlayerPresent => _clientState.LocalPlayer != null && _clientState.LocalPlayer.IsValid();
|
||||
|
||||
public string PlayerName => _clientState.LocalPlayer?.Name.ToString() ?? "--";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue