Modinfo: Add getType and getModList methods.

This commit is contained in:
PurpleIsEverything
2018-09-19 14:23:09 -06:00
parent b7e6334324
commit d218fbf1e0

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> getModList() {
return modList;
}
}
public static class Mod {