fix some bugs

This commit is contained in:
Stanley Dimant
2025-01-27 02:48:38 +01:00
parent 831a3dd1ee
commit 780131fb91
2 changed files with 2 additions and 2 deletions

View File

@@ -295,7 +295,7 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
public uint GetHomeWorldId()
{
EnsureIsOnFramework();
return _clientState.LocalPlayer!.HomeWorld.RowId;
return _clientState.LocalPlayer?.HomeWorld.RowId ?? 0;
}
public uint GetWorldId()