From 7c0f69e449b94547f95daa5c09407dd3f4a6fd52 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 20 Jul 2018 16:10:48 +1000 Subject: [PATCH] CraftBlock.toString shouldn't make legacy call --- src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java index bbf7b50880..698d044a8d 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java @@ -220,7 +220,7 @@ public class CraftBlock implements Block { @Override public String toString() { - return "CraftBlock{pos=" + position + ",type=" + getType() + ",data=" + getData() + '}'; + return "CraftBlock{pos=" + position + ",type=" + getType() + ",data=" + getNMS() + '}'; } public static BlockFace notchToBlockFace(EnumDirection notch) {