StellarWind22 / Fabric-Shield-Lib

Library for easily adding new shields, shield enchantments, and enabling you to enchant shields in general without worry of conflictions.
https://www.curseforge.com/minecraft/mc-mods/fabric-shield-lib
GNU Lesser General Public License v2.1
40 stars 19 forks source link

Outdated Dependencies Causing Crash #162

Closed Swatychopsuey closed 9 months ago

Swatychopsuey commented 10 months ago

Using Fabric-Loader-0.14.24 but same issue with 0.14.23. Tried with no other mods than fabric-api and Fabric-Shield-Lib and same crash happens.

Game Version : 1.20.2

Basically everything works fine but as soon as we try to click the "options" button in the Minecraft Menu the game crash with this message

"The game crashed whilst mouseclicked event handler

Error: java.lang.NoSuchMethodError: 'void net.minecraft.class_344.(int, int, int, int, int, int, int, net.minecraft.class_2960, int, int, net.minecraft.class_4185$class_4241, net.minecraft.class_2561)"

CringeStar commented 10 months ago

ok so i was able to replicate this and figure out what caused it. we are on an outdated version of midnight library, 1.2.1, when the current is 1.5. So for now, the solution is to include midnight lib 1.5 until we update our dependencies.

CringeStar commented 10 months ago

I will probably get around to doing that Monday maybe tuesday, so look out for a new release middle of next week

CringeStar commented 9 months ago

Fixed in 1.7.2, will be available on all platforms shortly.