2.0.1 #99

Merged
defnotken merged 19 commits from 2.0.1 into master 2025-12-24 02:11:08 +00:00
Showing only changes of commit cc011743af - Show all commits

View File

@@ -490,6 +490,10 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
{
EnsureIsOnFramework();
var playerChar = GetPlayerCharacter();
if (playerChar == null || playerChar.Address == IntPtr.Zero)
return 0;
return ((BattleChara*)playerChar.Address)->Character.ContentId;
}