mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:37:23 +01:00
fix some bugs
This commit is contained in:
parent
831a3dd1ee
commit
780131fb91
2 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue