From b54124ff6d2eefbbd62b741766e6f937570c7720 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Thu, 11 Dec 2014 18:02:42 +1100 Subject: [PATCH] Fixes setup message --- PlotSquared/pom.xml | 2 +- .../intellectualcrafters/plot/config/ConfigurationNode.java | 2 +- .../java/com/intellectualcrafters/plot/object/PlotBlock.java | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/PlotSquared/pom.xml b/PlotSquared/pom.xml index c51ea345e..ec123e849 100644 --- a/PlotSquared/pom.xml +++ b/PlotSquared/pom.xml @@ -6,7 +6,7 @@ com.intellectualcrafters PlotSquared - 2.3.7 + 2.3.8 PlotSquared jar diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/config/ConfigurationNode.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/config/ConfigurationNode.java index 11b6851ed..b57a088b9 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/config/ConfigurationNode.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/config/ConfigurationNode.java @@ -38,7 +38,7 @@ public class ConfigurationNode { private final SettingValue type; private Object value; - public ConfigurationNode(final String constant, final Object default_value, final String description, final SettingValue type, @SuppressWarnings("unused") final boolean required) { + public ConfigurationNode(final String constant, final Object default_value, final String description, final SettingValue type, final boolean required) { this.constant = constant; this.default_value = default_value; this.description = description; diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotBlock.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotBlock.java index 40cf50e7e..849ff6493 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotBlock.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotBlock.java @@ -32,4 +32,9 @@ public class PlotBlock { this.id = id; this.data = data; } + + @Override + public String toString() { + return this.id+":"+this.data; + } }