CraftBlock.toString shouldn't make legacy call

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2018-07-20 16:10:48 +10:00
parent 15a21299da
commit 8eca53392b

View File

@ -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) {