Fix protocol 5x crashing on player spawn