Upstream has released updates that appears to apply and compile correctly Paper Changes: bc8fafb20 Updated Upstream (CraftBukkit/Spigot) ebbca5ced Drowned is a RangedEntity (fixes API for Drowned to support Ranged) 83b03eee0 Don't move existing players to world spawn 3b3e38fd0 Fix issue with loading chunk during ticking chunks issue 78431dcae Update test server startup script ab74bb451 Speed up processing of chunk loads and generation f5dd491fc Increase Light Queue Size 9ab693487 Don't load chunks when attempting to unload a chunk 38c626229 Improve Optimize Memory use logic to make iterator safer and fix bad plugins like P2 d33ba160a Fix incorrect keyword use on visibleChunksClone 2f3430158 Updated Upstream (Bukkit/CraftBukkit) a65831bd6 Optimize PlayerChunkMap memory use for visibleChunks
29 lines
1.4 KiB
Diff
29 lines
1.4 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?=E3=84=97=E3=84=A0=CB=8B=20=E3=84=91=E3=84=A7=CB=8A?=
|
|
<tsao-chi@the-lingo.org>
|
|
Date: Thu, 2 Apr 2020 14:03:29 +0800
|
|
Subject: [PATCH] Disable Snooper
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
index 95a9f677dfbf180d3d4eaff70abb0f7fd8c87240..6c887c2d3ae3a5276c710d99b1d4403c38a0a8f1 100644
|
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
@@ -1163,6 +1163,8 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
|
//} // Paper
|
|
|
|
//this.methodProfiler.enter("snooper"); // Akarin - remove caller
|
|
+ // Akarin - Disable Snooper
|
|
+ /*
|
|
if (((DedicatedServer) this).getDedicatedServerProperties().snooperEnabled && !this.snooper.d() && this.ticks > 100) { // Spigot
|
|
this.snooper.a();
|
|
}
|
|
@@ -1170,6 +1172,7 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
|
if (((DedicatedServer) this).getDedicatedServerProperties().snooperEnabled && this.ticks % 6000 == 0) { // Spigot
|
|
this.snooper.b();
|
|
}
|
|
+ */
|
|
|
|
//this.methodProfiler.exit(); // Akarin - remove caller
|
|
//this.methodProfiler.enter("tallying"); // Akarin - remove caller
|