mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 22:47:42 +01:00
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.modList = ImmutableList.copyOf(modList);
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public List<Mod> getModList() {
|
||||
return modList;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Mod {
|
||||
|
||||
Reference in New Issue
Block a user