summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-21 21:18:50 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-21 21:18:50 +0100
commit2e8354e26af2bb78b0bc8506d65db4553d9b59d6 (patch)
treed826cd04b9c1574e39d44d58df4b4fb0234606a2 /core
parent70c9a2834aa8ee62c992735978b31eeeccab082f (diff)
downloadRustAndDust-2e8354e26af2bb78b0bc8506d65db4553d9b59d6.zip
RustAndDust-2e8354e26af2bb78b0bc8506d65db4553d9b59d6.tar.gz
PathBuilder: use printToErr on error
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/rustanddust/engine/PathBuilder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
index f53516c..8be3d79 100644
--- a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
+++ b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
@@ -224,6 +224,7 @@ public class PathBuilder implements Disposable
{
if (size() != 1) {
System.err.println("ask for only move but they are many");
+ printToErr("paths", paths);
return null;
}