diff --git a/src/main/java/me/jellysquid/mods/sodium/client/util/workarounds/platform/windows/Kernel32.java b/src/main/java/me/jellysquid/mods/sodium/client/util/workarounds/platform/windows/Kernel32.java index 08dd2cd46d..c01f17a4d6 100644 --- a/src/main/java/me/jellysquid/mods/sodium/client/util/workarounds/platform/windows/Kernel32.java +++ b/src/main/java/me/jellysquid/mods/sodium/client/util/workarounds/platform/windows/Kernel32.java @@ -28,7 +28,7 @@ public static void setEnvironmentVariable(String name, @Nullable String value) { MemoryUtil.memUTF16(value, true, lpValueBuf); } - JNI.callJJI(MemoryUtil.memAddress0(lpNameBuf), MemoryUtil.memAddressSafe(lpValueBuf), PFN_SetEnvironmentVariableW); + JNI.callPPI(MemoryUtil.memAddress0(lpNameBuf), MemoryUtil.memAddressSafe(lpValueBuf), PFN_SetEnvironmentVariableW); } }