|
There could be a number of problems with this code.
1. Do you have a method isChat() that returns a boolean value?
If so, then it is ok.
If not, then it could be the code in this method, if you have one. If you do not have the method, you will need one.
2. Do you have a method clickCharacter( ... ) that does what you need?
If so, then make sure there is no error in that code.
If not, you will have to make this method.
|