import server.model.players.*;
|
Hello. Can anyone tell me what do i need to import (i guess) to fix this error:
Code:src\server\model\players\packets\ClickingButtons.java:379: cannot find symbol symbol : variable playerName location: class server.model.players.packets.ClickingButtons MadTurnipConnection.addDonateItems(this, playerName); ^
import server.model.players.*;
Still same error.
What do i want to add is, that to claim donation reward you have to talk with NPC instead of adding it in public void initialize()
Thank you!
Did you declare the method.
Umm no i havent, at least not in clickingbuttons.java
I just took the code from public void initialize() in client.java
And added it in clickingbuttons + added import import server.util.MadTurnipConnection;
Thats all.
Well yeah, that's probably your problem. Declare first :3.
The best part is that i dont know what i need to declare... Lol feeling stupid.
Well , it's simple, if you're going to use a variable/method in a statement or class, you first need to declare the void and what it does in one of your other classes.
In this case playerName is your variable, so it'd look something like;
Or something of the sortpublicVoid playerName
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |