geforkt von Mirrors/Velocity
Merge pull request #94 from PurpleIsEverything/master
Modinfo: Add getType and getModList methods.
Dieser Commit ist enthalten in:
Commit
08d596b76d
@ -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 {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren