fix getting world->homeworld

This commit is contained in:
Stanley Dimant
2025-02-22 14:52:59 +01:00
parent a2da833401
commit 780e1a79d1

View File

@@ -1455,7 +1455,7 @@ public class SettingsUi : WindowMediatorSubscriberBase
} }
ImGui.Separator(); ImGui.Separator();
string youName = _dalamudUtilService.GetPlayerName(); string youName = _dalamudUtilService.GetPlayerName();
uint youWorld = _dalamudUtilService.GetWorldId(); uint youWorld = _dalamudUtilService.GetHomeWorldId();
ulong youCid = _dalamudUtilService.GetCID(); ulong youCid = _dalamudUtilService.GetCID();
if (!selectedServer.Authentications.Exists(a => string.Equals(a.CharacterName, youName, StringComparison.Ordinal) && a.WorldId == youWorld)) if (!selectedServer.Authentications.Exists(a => string.Equals(a.CharacterName, youName, StringComparison.Ordinal) && a.WorldId == youWorld))
{ {