CraftBlock.toString shouldn't make legacy call

This commit is contained in:
md_5 2018-07-20 16:10:48 +10:00
parent 814c742554
commit 7c0f69e449

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