mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix issue with accessory vfx hook.
This commit is contained in:
parent
05d010a281
commit
b63935e81e
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ public sealed unsafe class ResolvePathHooksBase : IDisposable
|
|||
|
||||
private nint ResolveVfxHuman(nint drawObject, nint pathBuffer, nint pathBufferSize, uint slotIndex, nint unkOutParam)
|
||||
{
|
||||
if (slotIndex <= 4)
|
||||
if (slotIndex is <= 4 or >= 10)
|
||||
return ResolveVfx(drawObject, pathBuffer, pathBufferSize, slotIndex, unkOutParam);
|
||||
|
||||
var changedEquipData = ((Human*)drawObject)->ChangedEquipData;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue