From 97725ed90698bf3d91e035b216404267540eacb5 Mon Sep 17 00:00:00 2001 From: js6pak <35262707+js6pak@users.noreply.github.com> Date: Sat, 24 Nov 2018 22:36:03 +0100 Subject: [PATCH] Fix GS4 k, v section Add "plugins" key before plugins list --- .../velocitypowered/proxy/protocol/netty/GS4QueryHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/GS4QueryHandler.java b/proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/GS4QueryHandler.java index f329b7f31..2695298a1 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/GS4QueryHandler.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/GS4QueryHandler.java @@ -264,6 +264,8 @@ public class GS4QueryHandler extends SimpleChannelInboundHandler return; } + writeString(buf, "plugins"); + StringBuilder pluginsString = new StringBuilder(); pluginsString.append(serverVersion).append(':').append(' '); Iterator iterator = plugins.iterator();