Add ModMeta#toString (#4292)

This commit is contained in:
Antsiferov Andrew 2021-01-09 18:06:12 +03:00 committed by GitHub
parent b762a5028b
commit a0c7b33ff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -853,6 +853,18 @@ public class Mods implements Loadable{
if(author != null) author = Strings.stripColors(author);
if(description != null) description = Strings.stripColors(description);
}
@Override
public String toString() {
return "ModMeta{" +
"name='" + name + '\'' +
", author='" + author + '\'' +
", version='" + version + '\'' +
", main='" + main + '\'' +
", minGameVersion='" + minGameVersion + '\'' +
", hidden=" + hidden +
'}';
}
}
public enum ModState{