From d218fbf1e0a2562fe37b848081461f86414d5b73 Mon Sep 17 00:00:00 2001 From: PurpleIsEverything Date: Wed, 19 Sep 2018 14:23:09 -0600 Subject: [PATCH] Modinfo: Add getType and getModList methods. --- .../com/velocitypowered/api/proxy/server/ServerPing.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java b/api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java index 069a5f7e8..0c9feffb3 100644 --- a/api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java +++ b/api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java @@ -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 getModList() { + return modList; + } } public static class Mod {