From b99ecec4485ae1c24036399ed6a2fd933b148cc6 Mon Sep 17 00:00:00 2001 From: Tobias Ottenweller Date: Tue, 26 Feb 2013 14:17:01 +0100 Subject: [PATCH] Added toString method for gates. --- src/de/craftinc/gates/Gate.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/de/craftinc/gates/Gate.java b/src/de/craftinc/gates/Gate.java index 4468dd9..d6a4fd7 100644 --- a/src/de/craftinc/gates/Gate.java +++ b/src/de/craftinc/gates/Gate.java @@ -56,6 +56,12 @@ public class Gate extends BaseGate implements ConfigurationSerializable this.id = id; } + + + public String toString() + { + return super.toString() + " " + this.getId(); + } /*