skill calculator: Fix combined items with decimals

Fixes runelite/runelite#3812
This commit is contained in:
Jordan Atwood
2018-07-02 17:30:24 -07:00
parent 257342de72
commit f354d3787f
2 changed files with 2 additions and 2 deletions

View File

@@ -247,7 +247,7 @@ class SkillCalculator extends JPanel
slot.setText("Lvl. " + action.getLevel() + " (" + formatXPActionString(xp, actionCount, "exp) - "));
slot.setAvailable(currentLevel >= action.getLevel());
slot.setOverlapping(action.getLevel() < targetLevel);
slot.setValue((int) xp);
slot.setValue(xp);
}
updateCombinedAction();

View File

@@ -80,7 +80,7 @@ class UIActionSlot extends JPanel
@Getter(AccessLevel.PACKAGE)
@Setter(AccessLevel.PACKAGE)
private int value = 0;
private double value = 0;
UIActionSlot(SkillDataEntry action)
{