From c495a7ef6ae46304ca6e59833e48d0d70a2c6800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 18 Feb 2015 17:22:21 +0100 Subject: Command: fix toString --- core/src/ch/asynk/tankontank/game/Command.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/ch/asynk/tankontank/game/Command.java b/core/src/ch/asynk/tankontank/game/Command.java index ab809af..be4540f 100644 --- a/core/src/ch/asynk/tankontank/game/Command.java +++ b/core/src/ch/asynk/tankontank/game/Command.java @@ -64,7 +64,7 @@ public class Command extends Order @Override public String toString() { - return String.format("%s %s : ", type, unit.id); + return String.format("%s : %s", type, unit.id); } public void setMove(Unit unit, Move move) -- cgit v1.1-2-g2b99