forked from 2009Scape/Server
Deleted unused diary code
This commit is contained in:
parent
3692be6fd1
commit
97b5892eac
1 changed files with 0 additions and 12 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue