This is my code, works 100% for me, as long as you have all the imports and right classes
Code:
private int getWoodcutting() {
int skill = player.getSkills().getLevel(Skills.Woodcutting);
int level = tree.getRequiredLevel();
int modifier = hatchet.getRequiredLevel();
int randomAmt = random.nextInt(1);
int Math = timeout.java;
server.Time("60");
if(c.timeout.endprocess); // For cutting logs too long, stops cutting!
public final int = Woodcutting.java();
if(c.WoodCuttingLevel().equals(0);
c.sendMessage("You Don't Have the required "+c.woodcuttingLevel+" to complete this action");
else {
c.sendMessage("You have successfully chopped 1 "+c.Logs+"); //Required woodcutting level actions
int Chopper = Chopper.Java;
file.Load
if(c.ChopsLog().c.getInventory.AddItem(""+c.Log+"");
public final int(2) = end;
}
Idk, this doesn't work for most people, because they don't have the right files... That was mine though...
Doubt it will work, but you probably need the spec status.