Update TileEntity.java

Optimized TileEntity Tick changes