XpInfoBox - Remove min/max experience check (#3397)
Because of level goals, the min/max experience check can be overflown pretty easily and so is no longer necessary.
This commit is contained in:
@@ -208,16 +208,7 @@ class XpInfoBox extends JPanel
|
||||
|
||||
public static String htmlLabel(String key, int value)
|
||||
{
|
||||
String valueStr = value + "";
|
||||
|
||||
if (value > 9999999 || value < -9999999)
|
||||
{
|
||||
valueStr = "Lots!";
|
||||
}
|
||||
else
|
||||
{
|
||||
valueStr = StackFormatter.quantityToRSDecimalStack(value);
|
||||
}
|
||||
String valueStr = StackFormatter.quantityToRSDecimalStack(value);
|
||||
|
||||
return "<html><body style = 'color:" + SwingUtil.toHexColor(ColorScheme.LIGHT_GRAY_COLOR) + "'>" + key + "<span style = 'color:white'>" + valueStr + "</span></body></html>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user