turn the stat method to public final.
Eg:
Declare it in your main class.Code:public final String whatever = "whatever";
|
|

Never encountered this before. I got this while applying Grahams event manager.
Compiler Output:
It's late and I was hoping to finish this up and go to bed. Anybody know where I can declare these final?Code:Client.java:727: Local variable stat is accessed from within inner class and needs to be declared final sendMessage("Congratulations, you just advanced your "+Stat+" level to "+playerLevel[lvl]+"."); Client.java:727: Local variable stat is accessed from within inner class and needs to be declared final sendMessage("Congratulations, you just advanced your "+Stat+" level to "+playerLevel[lvl]+".");

Findremove all the text before it on that line, add this to before String statCode:String statCode:public final


Thanks for the help you guys. It turns out string Stat was never declared at all, but it was named string statName.
I'm still having trouble locating string playerLevel though. Also the full variable is playerLevel[lvl].
| « Anyone having issues with compileing on windows 7 | Riotscape using other clients » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |