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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user