package techreborn.tiles; import java.util.List; import net.minecraft.tileentity.TileEntity; import techreborn.packets.PacketHandler; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class TileMachineBase extends TileEntity { @Override public void updateEntity() { super.updateEntity(); //TODO make this happen less //syncWithAll(); } @SideOnly(Side.CLIENT) public void addWailaInfo(List info) { } public void syncWithAll() { if (!worldObj.isRemote) { PacketHandler.sendPacketToAllPlayers(getDescriptionPacket(), worldObj); } } }