Merge pull request #489 from oplosthee/diary-fix

Fix Karamja Diary Status Indicator and add green color for completed diaries
This commit is contained in:
Adam
2018-01-29 17:46:03 -05:00
committed by GitHub
2 changed files with 4 additions and 3 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);
}
@@ -85,7 +86,7 @@ public class DiaryProgressPlugin extends Plugin
}
}
progress.append("<col=ffff00> ").append(entry.getName());
progress.append("</col> ").append(entry.getName());
}
else
{