From f8d8b75586c102c371863894a9c77e2595b51c3a Mon Sep 17 00:00:00 2001 From: Jonathan Williams Date: Tue, 24 Nov 2015 04:36:18 -0600 Subject: [PATCH] Changed how timings is used. --- Plugins/Mineplex.Core/src/mineplex/core/monitor/LagMeter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/monitor/LagMeter.java b/Plugins/Mineplex.Core/src/mineplex/core/monitor/LagMeter.java index 9b7f921a5..12bc7d776 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/monitor/LagMeter.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/monitor/LagMeter.java @@ -97,11 +97,11 @@ public class LagMeter extends MiniPlugin _count++; - if (System.currentTimeMillis() - _start > 60000) + if (System.currentTimeMillis() - _start > 30000) { if (_timingsRunning) { - if (_ticksPerSecond > 15 || System.currentTimeMillis() - _timingsStarted > 60000) + if (System.currentTimeMillis() - _timingsStarted > 30000) { getPlugin().getServer().dispatchCommand(Bukkit.getConsoleSender(), "timings paste"); _timingsRunning = false;