mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-06 02:42:34 +01:00
32 lines
1.5 KiB
Diff
32 lines
1.5 KiB
Diff
From 659f4dd7e209ebc4b7d8999326235c699866529d Mon Sep 17 00:00:00 2001
|
|
From: Aikar <aikar@aikar.co>
|
|
Date: Fri, 10 Jan 2014 22:05:59 -0500
|
|
Subject: [PATCH] EMC Disable Snooper
|
|
|
|
What purpose does it provide...
|
|
---
|
|
src/main/java/net/minecraft/server/MinecraftServer.java | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
index 5ea4964a85..4591e49988 100644
|
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
@@ -1249,11 +1249,11 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
|
//} // Paper
|
|
|
|
this.methodProfiler.enter("snooper");
|
|
- if (((DedicatedServer) this).getDedicatedServerProperties().snooperEnabled && !this.snooper.d() && this.ticks > 100) { // Spigot
|
|
+ if (false && ((DedicatedServer) this).getDedicatedServerProperties().snooperEnabled && !this.snooper.d() && this.ticks > 100) { // Spigot // EMC - disable snooper
|
|
this.snooper.a();
|
|
}
|
|
|
|
- if (((DedicatedServer) this).getDedicatedServerProperties().snooperEnabled && this.ticks % 6000 == 0) { // Spigot
|
|
+ if (false && ((DedicatedServer) this).getDedicatedServerProperties().snooperEnabled && this.ticks % 6000 == 0) { // Spigot // EMC - disable snooper
|
|
this.snooper.b();
|
|
}
|
|
|
|
--
|
|
2.25.1.windows.1
|
|
|