mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 04:33:56 -07:00
Adding the option to suppress overload warnings as a bukkit.yml option. Thanks oloflarsson for the PR.
This commit is contained in:
@@ -412,6 +412,7 @@ public class MinecraftServer implements Runnable, ICommandListener, IMinecraftSe
|
||||
long l = k - i;
|
||||
|
||||
if (l > 2000L) {
|
||||
if (this.server.getWarnOnOverload()) // CraftBukkit - Adding an option to suppress these warning messages
|
||||
log.warning("Can\'t keep up! Did the system time change, or is the server overloaded?");
|
||||
l = 2000L;
|
||||
}
|
||||
|
Reference in New Issue
Block a user