So i was just looking through and I was wondering why Pug uses
public void onPaint(Graphics2D g) {
Graphics2D gr = g;
currentXp = skills.getExperience(Skill.WOODCUTTING);
xpGained = currentXp - beginningXp;
g.drawString("" + xpGained, 1, 1);
}
when i'm getting the error that gr is never used... so i try to switch 'g.drawString("" ' with 'gr.drawString("" ' and neither of them actually show anything on the client. A paint would be nice and helpful but i feel like i should try to figure this out step by step (:. Thanks for the help whoever can help me!!
edit: the pastebin i'm referring to: http://pastebin.com/MtmTxL2w