removed more useless code in the tileentities