From 5a617ed04f0e0672f78d5ed42837b5325e698961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bokros=20B=C3=A1lint?= Date: Sat, 14 May 2016 13:20:38 +0200 Subject: [PATCH] Fixed too many args in Stargate.toString --- cicaprojekt/Stargate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cicaprojekt/Stargate.java b/cicaprojekt/Stargate.java index bcc66b2..f18cb0d 100644 --- a/cicaprojekt/Stargate.java +++ b/cicaprojekt/Stargate.java @@ -79,7 +79,7 @@ public class Stargate { public String toString() { if(isSpawned) return String.format("%s: %s", name, currentWall); - else return String.format("%s: not spawned", name, currentWall); + else return String.format("%s: not spawned", name); } public String getName() {