So I had this problem of battle which is imposible to end. It says (whith pokeares files) in the log that I should look on the line 2190 because of a decimal value.
I have a solution which seems to work :
at those lines :
change
I don't know if it was already posted but if it wasn't now it is ! =)
I have a solution which seems to work :
at those lines :
public void setExp(double exp) {
DecimalFormat form = new DecimalFormat("#.##");
if (exp > 100000000) {
m_exp = 100000000;
return;
}
m_exp = Double.valueOf(form.format(exp));
}
change
bym_exp = Double.valueOf(form.format(exp));
m_exp = Math.round(exp);
I don't know if it was already posted but if it wasn't now it is ! =)