Merge pull request #94 from PurpleIsEverything/master
Modinfo: Add getType and getModList methods.
This commit is contained in:
@@ -312,6 +312,14 @@ public class ServerPing {
|
|||||||
this.type = Preconditions.checkNotNull(type, "type");
|
this.type = Preconditions.checkNotNull(type, "type");
|
||||||
this.modList = ImmutableList.copyOf(modList);
|
this.modList = ImmutableList.copyOf(modList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getType() {
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Mod> getMods() {
|
||||||
|
return modList;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class Mod {
|
public static class Mod {
|
||||||
|
Reference in New Issue
Block a user