Merge pull request #94 from PurpleIsEverything/master

Modinfo: Add getType and getModList methods.
This commit is contained in:
Andrew Steinborn 2018-09-19 19:18:22 -04:00 committed by GitHub
commit 08d596b76d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,6 +312,14 @@ public class ServerPing {
this.type = Preconditions.checkNotNull(type, "type");
this.modList = ImmutableList.copyOf(modList);
}
public String getType() {
return type;
}
public List<Mod> getMods() {
return modList;
}
}
public static class Mod {