From 079a41f4c4bfde29ff6908372db1529165afc56a Mon Sep 17 00:00:00 2001 From: Warrior <50800980+Warriorrrr@users.noreply.github.com> Date: Thu, 18 Jan 2024 23:25:09 +0100 Subject: [PATCH] Disable memory reserve allocating --- .../patches/sources/net/minecraft/CrashReport.java.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/paper-server/patches/sources/net/minecraft/CrashReport.java.patch b/paper-server/patches/sources/net/minecraft/CrashReport.java.patch index 4b3553ad32..0b8863cd41 100644 --- a/paper-server/patches/sources/net/minecraft/CrashReport.java.patch +++ b/paper-server/patches/sources/net/minecraft/CrashReport.java.patch @@ -11,3 +11,12 @@ } public String getTitle() { +@@ -251,7 +253,7 @@ + } + + public static void preload() { +- MemoryReserve.allocate(); ++ // MemoryReserve.allocate(); // Paper - Disable memory reserve allocating + (new CrashReport("Don't panic!", new Throwable())).getFriendlyReport(ReportType.CRASH); + } + }