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