diff --git a/Plugins/Mineplex.Core/src/mineplex/core/monitor/LagMeter.java b/Plugins/Mineplex.Core/src/mineplex/core/monitor/LagMeter.java index b4846dfc8..802b3d643 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/monitor/LagMeter.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/monitor/LagMeter.java @@ -37,8 +37,6 @@ public class LagMeter extends MiniPlugin private boolean _timingsPasted; private long _timingsStarted; - private boolean _fakeTps = false; - private HashSet _monitoring = new HashSet(); public LagMeter(JavaPlugin plugin, CoreClientManager clientManager) @@ -122,10 +120,6 @@ public class LagMeter extends MiniPlugin public double getTicksPerSecond() { - if (_fakeTps) - { - return 20.0; - } return _ticksPerSecond; } @@ -170,10 +164,4 @@ public class LagMeter extends MiniPlugin player.sendMessage(F.main(getName(), ChatColor.GRAY + "Free-------" + ChatColor.YELLOW + (Runtime.getRuntime().freeMemory() / 1048576) + "MB")); player.sendMessage(F.main(getName(), ChatColor.GRAY + "Max--------" + ChatColor.YELLOW + (Runtime.getRuntime().maxMemory() / 1048576)) + "MB"); } - - // I'm so sorry. Blame ServerMonitor for being so strict - public void setFakeTps(boolean fakeTps) - { - this._fakeTps = fakeTps; - } } diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/uhc/UHC.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/uhc/UHC.java index 3ddb02053..18d67e8ca 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/uhc/UHC.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/uhc/UHC.java @@ -715,19 +715,6 @@ public class UHC extends TeamGame implements NCPHook } } - @EventHandler - public void toggleFakeTps(GameStateChangeEvent event) - { - if (event.GetState() != GameState.Dead) - { - Managers.get(LagMeter.class).setFakeTps(true); - } - else - { - Managers.get(LagMeter.class).setFakeTps(false); - } - } - @EventHandler public void generateWorld(GameStateChangeEvent event) {