Commit ef31f20b authored by mey's avatar mey
Browse files

AbstractDynamicMap, SimplePathfindingMap.java: toString returns just the name

parent df212372
......@@ -213,7 +213,7 @@ abstract class AbstractDynamicMap extends BasicMapChangeNotifier implements Name
@Override
public String toString() {
return name + "[width=" + getWidth() + ", height=" + getHeight() + "]";
return getName();
}
}
\ No newline at end of file
......@@ -58,7 +58,7 @@ class SimplePathfindingMap<T extends Grid2D>
@Override
public String toString() {
return name + "[width=" + getWidth() + ", height=" + getHeight() + "]";
return getName();
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment