From 45488abc39f14a520dfe7926d9eacc479f302fcb Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 7 Jan 2013 00:51:05 +0100 Subject: [PATCH] Print name of reaction instead of the reaction itself. --- src/main/java/net/pterodactylus/reactor/engine/Engine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/reactor/engine/Engine.java b/src/main/java/net/pterodactylus/reactor/engine/Engine.java index 2825b54..79ea482 100644 --- a/src/main/java/net/pterodactylus/reactor/engine/Engine.java +++ b/src/main/java/net/pterodactylus/reactor/engine/Engine.java @@ -125,7 +125,7 @@ public class Engine extends AbstractExecutionThreadService { reactionName = nextReactions.get(nextReactions.firstKey()).getLeft(); nextReaction = nextReactions.get(nextReactions.firstKey()).getRight(); } - logger.debug(String.format("Next Reaction: %s.", nextReaction)); + logger.debug(String.format("Next Reaction: %s.", reactionName)); /* wait until the next reaction has to run. */ net.pterodactylus.reactor.State lastState = stateManager.loadLastState(reactionName); -- 2.7.4