Improved logging of stat values

This commit is contained in:
Collin Smith 2020-08-19 22:19:43 -07:00
parent 3b6c1f81dc
commit e0da8aaa02

View File

@ -492,7 +492,7 @@ public class Stat implements Comparable<Stat> {
val = bitStream.read31u(entry.Save_Bits) - entry.Save_Add;
hash = hash(stat, param);
modified = false;
log.trace("{}: {} {}", entry, val, param); // TODO: improve
log.trace(toString());
return this;
}
@ -503,7 +503,7 @@ public class Stat implements Comparable<Stat> {
entry = Riiablo.files.ItemStatCost.get(stat);
hash = Stat.hash(stat, param);
modified = false;
log.trace("{}: {} {}", entry, val, param); // TODO: improve
log.trace(toString());
return this;
}