Code:
case 4:
modIcons[3].drawSprite(xPos, yPos - 12);
xPos += 14;
break;
Add this to your client.java in your client.
It would look like this in the end:
Code:
if((chatType == 1 || chatType == 2) && (chatType == 1 || publicChatMode == 0 || publicChatMode == 1 && isFriendOrSelf(s1))) {
if (chatTypeView == 1 || chatTypeView == 0) {
if(yPos > 0 && yPos < 110) {
int xPos = 19;
switch(byte0) {
case 1:
modIcons[0].drawSprite(xPos, yPos - 12);
xPos += 14;
break;
case 2:
modIcons[1].drawSprite(xPos, yPos - 12);
xPos += 14;
break;
case 3:
modIcons[2].drawSprite(xPos, yPos - 12);
xPos += 14;
break;
case 4:
modIcons[3].drawSprite(xPos, yPos - 12);
xPos += 14;
break;
}
newRegularFont.drawBasicString(s1 + ":", xPos, yPos, 0, -1);
xPos += newRegularFont.getTextWidth(s1) + 8;
newRegularFont.drawBasicString(chatMessages[k], xPos, yPos, 255, -1);
}
j++;
j77++;
}
}