From 3739ee6c5a681e379c83d38f2713b2942410c7bb Mon Sep 17 00:00:00 2001 From: Tobias Ottenweller Date: Sat, 6 Jul 2013 17:13:46 +0200 Subject: [PATCH] Added a toString method to the SimpleLocation class. --- src/de/craftinc/gates/util/SimpleLocation.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/de/craftinc/gates/util/SimpleLocation.java b/src/de/craftinc/gates/util/SimpleLocation.java index ae75ff9..4fdd035 100644 --- a/src/de/craftinc/gates/util/SimpleLocation.java +++ b/src/de/craftinc/gates/util/SimpleLocation.java @@ -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