mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 18:45:29 +01:00
Null check anyway just in case
This commit is contained in:
parent
aaa45ea72e
commit
82c33ebfe3
@ -32,6 +32,8 @@ public class PlayerlistTracker extends PlayerChunkMap.EntityTracker {
|
||||
if (tracker.dead)
|
||||
return;
|
||||
final EntityPlayer entityplayer = lastUpdatedPlayer;
|
||||
if (entityplayer == null)
|
||||
return;
|
||||
NMS.sendTabListAdd(entityplayer.getBukkitEntity(), (Player) tracker.getBukkitEntity());
|
||||
if (!Setting.DISABLE_TABLIST.asBoolean())
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user