Skip to content

Commit 481b06c

Browse files
committed
Fix inlined jukebox song backup
Fixes #949
1 parent 624fb6a commit 481b06c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build-logic/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ repositories {
88

99
dependencies {
1010
// version must be manually kept in sync with the one in root project settings.gradle.kts
11-
implementation("com.gradleup.shadow", "shadow-gradle-plugin", "8.3.0")
11+
implementation("com.gradleup.shadow", "shadow-gradle-plugin", "8.3.5")
1212
}

common/src/main/java/com/viaversion/viabackwards/protocol/v1_21to1_20_5/rewriter/BlockItemPacketRewriter1_21.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ private void restoreInconvertibleData(final Item item) {
311311
final Either<Holder<JukeboxPlayable.JukeboxSong>, String> song;
312312
final String songIdentifier = tag.getString("song_identifier");
313313
if (songIdentifier != null) {
314-
song = Either.right(tag.getString(songIdentifier));
314+
song = Either.right(songIdentifier);
315315
} else {
316316
song = Either.left(restoreHolder(tag, "song", songTag -> {
317317
final Holder<SoundEvent> soundEvent = restoreHolder(songTag, "sound_event", soundTag -> {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
projectVersion=5.2.1
1+
projectVersion=5.2.2-SNAPSHOT
22

33
# Smile emoji
44
mcVersions=1.21.4,1.21.3,1.21.2,1.21.1,1.21,1.20.6,1.20.5,1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17, 1.16.5, 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.16, 1.15.2, 1.15.1, 1.15, 1.14.4, 1.14.3, 1.14.2, 1.14.1, 1.14, 1.13.2, 1.13.1, 1.13, 1.12.2, 1.12.1, 1.12, 1.11.2, 1.11.1, 1.11, 1.10.2, 1.10.1, 1.10

0 commit comments

Comments
 (0)