From 794fb99d99b4ed22d5e01407b8d3fcf9d9d2c451 Mon Sep 17 00:00:00 2001 From: asofold Date: Mon, 7 Dec 2015 08:21:23 +0100 Subject: [PATCH] Prefer not to use DebugUtil.debug for non-temporary use. --- .../neatmonster/nocheatplus/checks/moving/MovingListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java index 14baa59d..604ea0f4 100644 --- a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java +++ b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java @@ -793,7 +793,7 @@ public class MovingListener extends CheckListener implements TickListener, IRemo if (max_gain < effect) { effect = max_gain; if (data.debug) { - DebugUtil.debug(player.getName() + " Cap bounce effect by recent y-distances."); + NCPAPIProvider.getNoCheatPlusAPI().getLogManager().debug(Streams.TRACE_FILE, player.getName() + " Cap bounce effect by recent y-distances."); } } }