From 51fff9d7245b26525e8a4db1001141d5ed4efc55 Mon Sep 17 00:00:00 2001 From: Gamous Date: Tue, 6 Sep 2022 13:02:22 +0800 Subject: [PATCH] fix: MemoryHelper.Write crash the game Missing parameters cause the overload not to be called correctly, resulting in an infinite loop once called. --- Dalamud/Memory/MemoryHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dalamud/Memory/MemoryHelper.cs b/Dalamud/Memory/MemoryHelper.cs index a2fddd5fc..5563f0599 100644 --- a/Dalamud/Memory/MemoryHelper.cs +++ b/Dalamud/Memory/MemoryHelper.cs @@ -364,7 +364,7 @@ namespace Dalamud.Memory /// The memory address to read from. /// The item to write to the address. public static void Write(IntPtr memoryAddress, T item) where T : unmanaged - => Write(memoryAddress, item); + => Write(memoryAddress, item, false); /// /// Writes a generic type to a specified memory address.