summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-20 16:10:48 +1000
committermd_5 <git@md-5.net>2018-07-20 16:10:48 +1000
commit7c0f69e449b94547f95daa5c09407dd3f4a6fd52 (patch)
tree1b08916c4c7a252023c330e61506c555876a00fb /src
parent814c742554e40554a30cee1915b42457081000c6 (diff)
downloadcraftbukkit-7c0f69e449b94547f95daa5c09407dd3f4a6fd52.tar
craftbukkit-7c0f69e449b94547f95daa5c09407dd3f4a6fd52.tar.gz
craftbukkit-7c0f69e449b94547f95daa5c09407dd3f4a6fd52.tar.lz
craftbukkit-7c0f69e449b94547f95daa5c09407dd3f4a6fd52.tar.xz
craftbukkit-7c0f69e449b94547f95daa5c09407dd3f4a6fd52.zip
CraftBlock.toString shouldn't make legacy call
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java
index bbf7b508..698d044a 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) {