Fix NPE in PlayerEntitySpawnEvent