From 5dbf8f1736c440975a361a48e785dd34be909be0 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Fri, 7 Sep 2018 23:23:53 -0400 Subject: [PATCH] Include modlist in toBuilder() --- .../java/com/velocitypowered/api/proxy/server/ServerPing.java | 3 +++ 1 file changed, 3 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 ec5d35a50..252ad77c3 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 @@ -73,6 +73,9 @@ public class ServerPing { builder.description = description; builder.favicon = favicon; builder.nullOutModinfo = modinfo == null; + if (modinfo != null) { + builder.mods.addAll(modinfo.modList); + } return builder; }