#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