From 219d55dfda6764aec56478e19ba00c002fa8094e Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 30 Jan 2019 15:45:47 +1100 Subject: [PATCH] #2592: Fix null tooltip string --- .../net/md_5/bungee/protocol/packet/TabCompleteResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/packet/TabCompleteResponse.java b/protocol/src/main/java/net/md_5/bungee/protocol/packet/TabCompleteResponse.java index 64851dde..7206bed5 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/packet/TabCompleteResponse.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/packet/TabCompleteResponse.java @@ -79,7 +79,7 @@ public class TabCompleteResponse extends DefinedPacket { writeString( suggestion.getText(), buf ); buf.writeBoolean( suggestion.getTooltip() != null ); - if ( suggestion.getTooltip() != null ) + if ( suggestion.getTooltip() != null && suggestion.getTooltip().getString() != null ) { writeString( suggestion.getTooltip().getString(), buf ); }