re: Fixup improve tick loop patch

This commit is contained in:
Shane Freeder 2018-08-09 14:14:17 +01:00
parent cde57e0819
commit 84c52bd9b1

View File

@ -12,18 +12,9 @@ Previous implementation did not calculate TPS correctly.
Switch to a realistic rolling average and factor in std deviation as an extra reporting variable
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
index c72bdd29d1..c7b0cdaa20 100644
index c72bdd29d1..9db0540c1f 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -0,0 +0,0 @@ public abstract class MinecraftServer implements IAsyncTaskHandler, IMojangStati
private final List<ITickable> l = Lists.newArrayList();
public final MethodProfiler methodProfiler = new MethodProfiler();
private ServerConnection m; // Spigot
- private final ServerPing n = new ServerPing();
+4 private final ServerPing n = new ServerPing();
private final Random o = new Random();
public final DataFixer dataConverterManager;
private String serverIp;
@@ -0,0 +0,0 @@ public abstract class MinecraftServer implements IAsyncTaskHandler, IMojangStati
public org.bukkit.command.ConsoleCommandSender console;
public org.bukkit.command.RemoteConsoleCommandSender remoteConsole;