mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
Add tuinity.yml and server.properties to timings config tab
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 0233b14a5cb692e047870000eaba4701e309d311 Mon Sep 17 00:00:00 2001
|
||||
From 172f860ac4786be57a1d686a6e40e0c25810263f Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Tue, 23 Jul 2019 10:07:16 -0500
|
||||
Subject: [PATCH] Implement lagging threshold
|
||||
@@ -46,10 +46,10 @@ index e1a1ef860..2537a5add 100644
|
||||
public static double packetRateLimitInterval = 10.0; // seconds
|
||||
public static String packetRateLimitKickMessage = "Sent too many packets";
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
index 85c7fc177..2b5ae8c86 100644
|
||||
index 26e76df12..7ba8c8f59 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
@@ -2218,5 +2218,10 @@ public final class CraftServer implements Server {
|
||||
@@ -2227,5 +2227,10 @@ public final class CraftServer implements Server {
|
||||
}
|
||||
return ((double) total / (double) tickTimes.length) * 1.0E-6D;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user