From 2df9049e6bf0076c28b265bbd49301093ac5617a Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Wed, 8 Dec 2021 17:30:36 +0100 Subject: [PATCH] Fix error when loading old replay on Java 9+ (fixes #578) By updating the shadow plugin used in ReplayStudio. java.lang.IncompatibleClassChangeError: Inconsistent constant pool data in classfile for class com/replaymod/replaystudio/lib/viaversion/libs/kyori/adventure/text/Component. Method 'boolean lambda$static$0(com.replaymod.replaystudio.lib.viaversion.libs.kyori.adventure.text.Component, com.replaymod.replaystudio.lib.viaversion.libs.kyori.adventure.text.Component)' at index 1064 is CONSTANT_MethodRef and should be CONSTANT_InterfaceMethodRef --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 0f5e811b..b2f11729 100644 --- a/build.gradle +++ b/build.gradle @@ -335,7 +335,7 @@ dependencies { shadow 'com.github.ReplayMod.JavaBlend:2.79.0:a0696f8' - shadow "com.github.ReplayMod:ReplayStudio:8cfd22c", shadeExclusions + shadow "com.github.ReplayMod:ReplayStudio:70f59ef", shadeExclusions implementation(FABRIC ? dependencies.project(path: jGui.path, configuration: "namedElements") : jGui) { transitive = false // FG 1.2 puts all MC deps into the compile configuration and we don't want to shade those