public void notifyPlayerOfProgression(EntityPlayer ep, ProgressElement p) { if (ep.worldObj.isRemote) { ChromaOverlays.instance.addProgressionNote(p); ReikaSoundHelper.playClientSound(ChromaSounds.GAINPROGRESS, ep, 1, 1); } else if (ep instanceof EntityPlayerMP) { ReikaPacketHelper.sendDataPacket( ChromatiCraft.packetChannel, ChromaPackets.PROGRESSNOTE.ordinal(), (EntityPlayerMP) ep, this.getID(p)); if (ChromaOptions.PROGRESSNOTIFY.getState()) { if (ChromaOptions.PROGRESSNOTIFY_SELF.getState()) ChromaAux.notifyServerPlayers(ep, p); else ChromaAux.notifyServerPlayersExcept(ep, p); } } }