mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-09-28 13:12:59 -04:00
Added toString method to TravelPoint
This commit is contained in:
@@ -113,4 +113,8 @@ public final class TravelPoint implements Comparable<TravelPoint> {
|
||||
return name.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return String.format("TravelPoint[name=%s location=%s %s", name, location.getTerrain(), location.getPosition());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user