From c58eaa51d3164d04c22dfcdd1b127a5ecdb196d8 Mon Sep 17 00:00:00 2001 From: TheMode Date: Tue, 17 Aug 2021 18:44:53 +0200 Subject: [PATCH] Fix test --- .../network/packet/server/handshake/ResponsePacket.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/net/minestom/server/network/packet/server/handshake/ResponsePacket.java b/src/main/java/net/minestom/server/network/packet/server/handshake/ResponsePacket.java index a654281c1..2f3869471 100644 --- a/src/main/java/net/minestom/server/network/packet/server/handshake/ResponsePacket.java +++ b/src/main/java/net/minestom/server/network/packet/server/handshake/ResponsePacket.java @@ -13,6 +13,10 @@ public class ResponsePacket implements ServerPacket { this.jsonResponse = jsonResponse; } + public ResponsePacket() { + this(""); + } + @Override public void write(@NotNull BinaryWriter writer) { writer.writeSizedString(jsonResponse);