mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
fix wrong Profile data component impl
This commit is contained in:
parent
ef25e77e52
commit
befcec9b3a
3 changed files with 19 additions and 3 deletions
|
@ -662,7 +662,7 @@ pub struct GameProfileProperty {
|
|||
|
||||
#[derive(Clone, PartialEq, AzBuf)]
|
||||
pub struct Profile {
|
||||
pub name: String,
|
||||
pub name: Option<String>,
|
||||
pub id: Option<Uuid>,
|
||||
pub properties: Vec<GameProfileProperty>,
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -18,7 +18,7 @@ mod tests {
|
|||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn test_read_write_container_set_content() {
|
||||
fn test_read_write_hypixel_entity_data() {
|
||||
let contents = [161, 226, 1, 10, 18, 1, 20, 38, 124, 175, 198, 255];
|
||||
let mut buf = Cursor::new(contents.as_slice());
|
||||
let packet = ClientboundSetEntityData::azalea_read(&mut buf).unwrap();
|
||||
|
|
Loading…
Add table
Reference in a new issue