Optimize even more things.

This commit is contained in:
GJ
2012-02-23 23:04:41 -05:00
parent 19ab8b89f5
commit bdb74d4719
5 changed files with 31 additions and 57 deletions

View File

@ -194,23 +194,16 @@ public class WoodCutting
}
}
public static void treeFellerCheck(Player player, Block block)
public static void treeFellerCheck(Player player)
{
PlayerProfile PP = Users.getProfile(player);
if(m.isAxes(player.getItemInHand()))
{
if(block != null)
{
if(!m.abilityBlockCheck(block))
return;
}
/*
* CHECK FOR AXE PREP MODE
*/
if(PP.getAxePreparationMode())
{
PP.setAxePreparationMode(false);
}
int ticks = 2;
int x = PP.getSkillLevel(SkillType.WOODCUTTING);