Add toString to ModSettings and RemapConfigurationSettings (#831)

This helps a bit with debugging code that uses them as you don't
have to open the object to see which mod/remap configuration we're
investigating.
This commit is contained in:
Juuz
2023-02-18 20:53:49 +02:00
committed by modmuss50
parent 97f594da8e
commit b19184751b
2 changed files with 10 additions and 0 deletions

View File

@@ -122,4 +122,9 @@ public abstract class ModSettings implements Named {
@Inject
public abstract Project getProject();
@Override
public String toString() {
return "ModSettings '" + getName() + "'";
}
}