mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
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:
@@ -122,4 +122,9 @@ public abstract class ModSettings implements Named {
|
||||
|
||||
@Inject
|
||||
public abstract Project getProject();
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ModSettings '" + getName() + "'";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user