mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
Fix incorrect equality operator
This commit is contained in:
parent
92f4df625f
commit
805615d9f4
1 changed files with 2 additions and 2 deletions
|
|
@ -197,10 +197,10 @@ internal class GameInventory : IDisposable, IServiceType, IGameInventory
|
||||||
}
|
}
|
||||||
|
|
||||||
private unsafe bool IsMateriaChanged(InventoryItem a, InventoryItem b)
|
private unsafe bool IsMateriaChanged(InventoryItem a, InventoryItem b)
|
||||||
=> new ReadOnlySpan<ushort>(a.Materia, 5) == new ReadOnlySpan<ushort>(b.Materia, 5);
|
=> new ReadOnlySpan<ushort>(a.Materia, 5) != new ReadOnlySpan<ushort>(b.Materia, 5);
|
||||||
|
|
||||||
private unsafe bool IsMateriaGradeChanged(InventoryItem a, InventoryItem b)
|
private unsafe bool IsMateriaGradeChanged(InventoryItem a, InventoryItem b)
|
||||||
=> new ReadOnlySpan<byte>(a.MateriaGrade, 5) == new ReadOnlySpan<byte>(b.MateriaGrade, 5);
|
=> new ReadOnlySpan<byte>(a.MateriaGrade, 5) != new ReadOnlySpan<byte>(b.MateriaGrade, 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue