Skip to content

Commit

Permalink
0u32->0u8
Browse files Browse the repository at this point in the history
  • Loading branch information
JieningYu committed Aug 13, 2024
1 parent d4fe427 commit 45d94a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/component/src/changes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ where
map.serialize_key(&ty)?;
if obj.is_none() {
// Dummy value. fastnbt does not support Unit values.
map.serialize_value(&0u32)?;
map.serialize_value(&0u8)?;
} else {
map.serialize_value(&Ser {
obj: obj.as_ref().unwrap(),
Expand Down

0 comments on commit 45d94a7

Please sign in to comment.