ive made a handler and this is what i put in it
Code:
public class Woodcutting {
public void chop(int objectID, Client c) {
switch (c.objectID) {
case 1276:
c.sM("you swing your axe at the tree.");
break;
}
}
}
and in client java under first clicked objects i put
Code:
Woodcutting.chop(this);
and i keep getting these error
Code:
.\src\Client.java:8090: chop(int,Client) in Woodcutting cannot be applied to (Cl
ient)
Woodcutting.chop(this);
^
.\src\Woodcutting.java:4: cannot find symbol
symbol : variable objectID
location: class Client
switch (c.objectID) {
^
2 errors
Press any key to continue . . .
also the npcs arnt moving and after a while the player walks like a step and stops then another and stops how can i fix these? i really need help!