Fix issues in last commit

This commit is contained in:
NuclearW
2012-01-28 21:19:35 -05:00
parent 3fef87923a
commit a61efae527
2 changed files with 4 additions and 1 deletions

View File

@ -125,6 +125,9 @@ public class Skills
PP.setHoePreparationMode(true);
}
}
public static void monitorSkills(Player player, PlayerProfile PP) {
monitorSkills(player, PP, System.currentTimeMillis());
}
public static void monitorSkills(Player player, PlayerProfile PP, long curTime){
if(PP.getHoePreparationMode() && curTime - (PP.getHoePreparationATS()*1000) >= 4000){
PP.setHoePreparationMode(false);