mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
Fix offset
This commit is contained in:
parent
c7b9791a6a
commit
60c7debb5e
1 changed files with 2 additions and 4 deletions
|
|
@ -5,8 +5,7 @@ using Dalamud.Utility.Signatures;
|
|||
using FFXIVClientStructs.FFXIV.Client.Game.Character;
|
||||
using Penumbra.GameData;
|
||||
using Penumbra.GameData.Interop;
|
||||
using Penumbra.GameData.Structs;
|
||||
using System.ComponentModel;
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.Object;
|
||||
using Character = FFXIVClientStructs.FFXIV.Client.Game.Character.Character;
|
||||
|
||||
namespace Glamourer.Interop;
|
||||
|
|
@ -70,8 +69,7 @@ public unsafe class ScalingService : IDisposable
|
|||
|
||||
private void PlaceMinionDetour(Companion* companion)
|
||||
{
|
||||
// TODO Update CS
|
||||
var owner = (Actor)((nint*)companion)[0x45C];
|
||||
var owner = (Actor)(GameObject*)companion->Owner;
|
||||
if (!owner.IsCharacter)
|
||||
{
|
||||
_placeMinionHook.Original(companion);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue