Changed return type for StatFormatter methods to String from CharSequence

This commit is contained in:
Collin Smith
2020-09-04 20:38:39 -07:00
parent 2fd51347bf
commit 2bd5f217a4

View File

@ -39,12 +39,12 @@ public class StatFormatter {
"ModStre9e", "ModStre9g", "ModStre9d", "ModStre9f", "ModStre9e", "ModStre9g", "ModStre9d", "ModStre9f",
}; };
public CharSequence format(StatGetter stat, Attributes opAttrs) { public String format(StatGetter stat, Attributes opAttrs) {
final ItemStatCost.Entry entry = stat.entry(); final ItemStatCost.Entry entry = stat.entry();
return format(stat, opAttrs, entry.descfunc, entry.descval, entry.descstrpos, entry.descstrneg, entry.descstr2); return format(stat, opAttrs, entry.descfunc, entry.descval, entry.descstrpos, entry.descstrneg, entry.descstr2);
} }
public CharSequence format( public String format(
final StatGetter stat, final StatGetter stat,
final Attributes opAttrs, final Attributes opAttrs,
final int func, final int func,