Merge pull request #4145 from Nightfirecat/fix-skill-calculator-combined-item-decimals
skill calculator: Fix combined items with decimals
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user