mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-24 17:47:41 +01:00
#2592: Fix null tooltip string
This commit is contained in:
parent
29c093f83f
commit
219d55dfda
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user