Update TileEntity.java

Do NOT revert TileEntity class patch.