Merge pull request #12119 from Nightfirecat/fix-white-xp-drop

xpdrops: Fix white xp drop text recolors
This commit is contained in:
Jordan
2020-07-12 19:42:07 -07:00
committed by GitHub

View File

@@ -114,7 +114,7 @@ public class XpDropPlugin extends Plugin
.skip(1) // skip text .skip(1) // skip text
.mapToInt(Widget::getSpriteId); .mapToInt(Widget::getSpriteId);
int color = -1; int color = 0;
switch (prayer) switch (prayer)
{ {
@@ -142,7 +142,7 @@ public class XpDropPlugin extends Plugin
break; break;
} }
if (color != -1) if (color != 0)
{ {
text.setTextColor(color); text.setTextColor(color);
} }