Fix Karamja diary displaying incorrect progress

This commit is contained in:
oplosthee
2018-01-29 16:55:25 +01:00
parent 06fc579ef2
commit 3becf865bf
2 changed files with 3 additions and 2 deletions

View File

@@ -75,7 +75,8 @@ public class DiaryProgressPlugin extends Plugin
{
for (Varbits varbits : entry.getVarbits())
{
if (client.getSetting(varbits) == 1)
int value = client.getSetting(varbits);
if ((entry != DiaryEntry.KARAMJA && value == 1) || value == 2)
{
progress.append(STAGE_FINISHED_STRING);
}