Skip to content

Commit

Permalink
whoopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRTTV committed Apr 11, 2024
1 parent 38e5277 commit d372d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ impl NbtElement {
ElementAction::OpenArrayInHex
];
let id = self.as_list_unchecked().element;
if let NbtByte::ID | NbtShort::ID | NbtInt::ID | NbtLong::ID = id {
if matches!(id, NbtByte::ID | NbtShort::ID | NbtInt::ID | NbtLong::ID) || cfg!(target_arch = "wasm32") {
&FULL
} else {
&FULL[..FULL.len() - 1]
Expand Down

0 comments on commit d372d4e

Please sign in to comment.