Fix bug in decoding RS colors

This commit is contained in:
Tyler Hardy
2017-10-11 03:33:17 -05:00
parent 8a03cca83d
commit c7e7c29a5d

View File

@@ -158,7 +158,7 @@ class MouseHighlightOverlay extends Overlay
for (int i = 0; i < parts.size(); i++)
{
// Sets the string colour to the colour the game uses.
graphics.setColor(Color.decode(colours.get(i)));
graphics.setColor(Color.decode("#" + colours.get(i)));
// Draws the target (Player, item)
graphics.drawString(parts.get(i), x + option_width + parts_width, y);