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

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 {