Fixed derp with debug in TileEntity. Fixes #1546