From 6bbb4e7348252b6c918946a4e02dcd575653287c Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 29 Jan 2020 09:53:13 +1100 Subject: [PATCH] Clean up CraftBlockData.toString --- .../java/org/bukkit/craftbukkit/block/data/CraftBlockData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/block/data/CraftBlockData.java b/src/main/java/org/bukkit/craftbukkit/block/data/CraftBlockData.java index e371e7f6d9..683b17a0c9 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/data/CraftBlockData.java +++ b/src/main/java/org/bukkit/craftbukkit/block/data/CraftBlockData.java @@ -260,7 +260,7 @@ public class CraftBlockData implements BlockData { @Override public String toString() { - return "CraftBlockData{" + state.toString() + "}"; + return "CraftBlockData{" + getAsString() + "}"; } // Mimicked from BlockDataAbstract#toString()