Skip to content

Commit

Permalink
Fix #916
Browse files Browse the repository at this point in the history
  • Loading branch information
libraryaddict authored Aug 10, 2024
1 parent fc93419 commit 9b9ae8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static IJukeboxSong decode(NBT nbt, ClientVersion version, @Nullable TypesBuilde
NBTCompound compound = (NBTCompound) nbt;

Sound sound = Sound.decode(compound.getCompoundTagOrThrow("sound_event"), version);
Component description = AdventureSerializer.fromNbt(compound.getCompoundTagOrThrow("description"));
Component description = AdventureSerializer.fromNbt(compound.getTagOrThrow("description"));
float length = compound.getNumberTagOrThrow("length_in_seconds").getAsFloat();
int comparator_output = compound.getNumberTagOrThrow("comparator_output").getAsInt();

Expand Down

0 comments on commit 9b9ae8d

Please sign in to comment.