mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-28 03:27:37 +01:00
#2296: Fix tab list NPE w/ some offline mode clients
This commit is contained in:
parent
1dbfcfb0b5
commit
ed23e3b3d1
@ -36,7 +36,7 @@ public abstract class TabList
|
||||
{
|
||||
item.setUuid( player.getUniqueId() );
|
||||
LoginResult loginResult = player.getPendingConnection().getLoginProfile();
|
||||
if ( loginResult != null )
|
||||
if ( loginResult != null && loginResult.getProperties() != null )
|
||||
{
|
||||
String[][] props = new String[ loginResult.getProperties().length ][];
|
||||
for ( int i = 0; i < props.length; i++ )
|
||||
|
Loading…
Reference in New Issue
Block a user