From: David ‘Bombe’ Roden Date: Sun, 6 Jan 2013 23:51:05 +0000 (+0100) Subject: Print name of reaction instead of the reaction itself. X-Git-Tag: 0.1~53 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=45488abc39f14a520dfe7926d9eacc479f302fcb;p=rhynodge.git Print name of reaction instead of the reaction itself. --- 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);