Merge 2009scape updates #19

Open
randy wants to merge 204 commits from 2009Scape:master into upstream
Showing only changes of commit 97b5892eac - Show all commits

View file

@ -224,18 +224,6 @@ public class AchievementDiary {
drawStatus(player);
}
public boolean checkComplete(DiaryLevel level){
if(type != DiaryType.LUMBRIDGE && level == DiaryLevel.BEGINNER){
return false;
}
if(level == DiaryLevel.BEGINNER){
return completedLevels.contains(level.ordinal());
}
return completedLevels.contains(level.ordinal() - 1);
}
/**
* Sends a string on the diary interface.
* @param player the player.