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);