Compare commits
1 Commits
cb9578f90f
...
smoll-perf
| Author | SHA1 | Date | |
|---|---|---|---|
| c420ed5c55 |
@ -0,0 +1,31 @@
|
|||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Chaoscaot <chaos@chaoscaot.de>
|
||||||
|
Date: Thu, 2 Jan 2025 21:49:47 +0100
|
||||||
|
Subject: [PATCH] SW Removed for Performance
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/net/minecraft/CrashReport.java b/net/minecraft/CrashReport.java
|
||||||
|
index 3e0e88afcf010d9a3d46e48bca5cbdf98fe97544..c4dbb94fef4240f25186015c637556ea3b9988e6 100644
|
||||||
|
--- a/net/minecraft/CrashReport.java
|
||||||
|
+++ b/net/minecraft/CrashReport.java
|
||||||
|
@@ -221,6 +221,6 @@ public class CrashReport {
|
||||||
|
|
||||||
|
public static void preload() {
|
||||||
|
//MemoryReserve.allocate(); // Paper - Disable memory reserve allocating
|
||||||
|
- new CrashReport("Don't panic!", new Throwable()).getFriendlyReport(ReportType.CRASH);
|
||||||
|
+ //new CrashReport("Don't panic!", new Throwable()).getFriendlyReport(ReportType.CRASH);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
diff --git a/net/minecraft/server/dedicated/DedicatedServer.java b/net/minecraft/server/dedicated/DedicatedServer.java
|
||||||
|
index 97a294d2f5c1ddf0af7ffec3e1425eb329c5751b..897e22353b577baa8165f23e2ff21af95c47c1c4 100644
|
||||||
|
--- a/net/minecraft/server/dedicated/DedicatedServer.java
|
||||||
|
+++ b/net/minecraft/server/dedicated/DedicatedServer.java
|
||||||
|
@@ -207,7 +207,7 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface
|
||||||
|
org.spigotmc.SpigotConfig.init((java.io.File) this.options.valueOf("spigot-settings"));
|
||||||
|
org.spigotmc.SpigotConfig.registerCommands();
|
||||||
|
// Spigot end
|
||||||
|
- io.papermc.paper.util.ObfHelper.INSTANCE.getClass(); // Paper - load mappings for stacktrace deobf and etc.
|
||||||
|
+ //io.papermc.paper.util.ObfHelper.INSTANCE.getClass(); // Paper - load mappings for stacktrace deobf and etc.
|
||||||
|
// Paper start - initialize global and world-defaults configuration
|
||||||
|
this.paperConfigurations.initializeGlobalConfiguration(this.registryAccess());
|
||||||
|
this.paperConfigurations.initializeWorldDefaultsConfiguration(this.registryAccess());
|
||||||
Reference in New Issue
Block a user