Added a toString method to the SimpleLocation class.
This commit is contained in:
1 parent
2d830b2f9f
commit
3739ee6c5a
1 file changed
+8
@@ -54,6 +54,14 @@ public class SimpleLocation
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return super.toString() + " x: " + x + " y: " + y + " z: " + z + " world: " + world;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(final Object o)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user