Fixed too many args in Stargate.toString

This commit is contained in:
Bokros Bálint 2016-05-14 13:20:38 +02:00
parent 2aeb5b4503
commit 5a617ed04f

View File

@ -79,7 +79,7 @@ public class Stargate {
public String toString() { public String toString() {
if(isSpawned) if(isSpawned)
return String.format("%s: %s", name, currentWall); 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() { public String getName() {