mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-28 03:27:37 +01:00
#2593: Fix null tooltip string v2
This commit is contained in:
parent
219d55dfda
commit
96b1fb1f0e
@ -78,7 +78,7 @@ public class TabCompleteResponse extends DefinedPacket
|
||||
for ( Suggestion suggestion : suggestions.getList() )
|
||||
{
|
||||
writeString( suggestion.getText(), buf );
|
||||
buf.writeBoolean( suggestion.getTooltip() != null );
|
||||
buf.writeBoolean( suggestion.getTooltip() != null && suggestion.getTooltip().getString() != null );
|
||||
if ( suggestion.getTooltip() != null && suggestion.getTooltip().getString() != null )
|
||||
{
|
||||
writeString( suggestion.getTooltip().getString(), buf );
|
||||
|
Loading…
Reference in New Issue
Block a user