mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-04-12 16:50:31 +08:00
Merge pull request #94 from PurpleIsEverything/master
Modinfo: Add getType and getModList methods.
This commit is contained in:
commit
08d596b76d
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user