Salandora / SophisticatedCore

https://www.curseforge.com/minecraft/mc-mods/sophisticated-core-unofficial-fabric-port
GNU General Public License v3.0
4 stars 4 forks source link

Crash when player moves open backpack in inventory on fabric 1.20.1 server. #11

Closed Fnafacado closed 3 weeks ago

Fnafacado commented 2 months ago

Hello, our server is crashing when someone moves a backpack in their inventory that they have opened. We're on fabric 1.20.1 and this is the only issue we've had so far. Any help would be appreciated, thanks!

The mods we're using:

modlist2 modlist1 modlist0

The log of the crash:

[22:38:46] [Server thread/INFO]: There are 2 of a max of 50 players online: CharlieBean_, Mommacado [22:39:15] [Server thread/ERROR]: Error getting backpack wrapper - Unable to find backpack at slot index 6 in "main" inventory handler [22:39:15] [Server thread/ERROR]: Encountered an unexpected exception java.lang.IllegalAccessError: class net.p3pp3rf1y.sophisticatedcore.common.gui.StorageContainerMenuBase tried to access protected method 'void net.minecraft.class_1657.method_7346()' (net.p3pp3rf1y.sophisticatedcore.common.gui.StorageContainerMenuBase and net.minecraft.class_1657 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @100fc185) at net.p3pp3rf1y.sophisticatedcore.common.gui.StorageContainerMenuBase.closeScreenIfSomethingMessedWithStorageItemStack(StorageContainerMenuBase.java:312) ~[sophisticatedcore-0.5.109+mc1.20.1-SNAPSHOT-build.104.jar:?] at net.p3pp3rf1y.sophisticatedcore.common.gui.StorageContainerMenuBase.method_7623(StorageContainerMenuBase.java:1428) ~[sophisticatedcore-0.5.109+mc1.20.1-SNAPSHOT-build.104.jar:?] at net.minecraft.class_3244.method_12076(class_3244.java:1695) ~[server-intermediary.jar:?] at net.minecraft.class_2813.method_12191(class_2813.java:58) ~[server-intermediary.jar:?] at net.minecraft.class_2813.method_11054(class_2813.java:13) ~[server-intermediary.jar:?] at net.minecraft.class_2600.method_11072(class_2600.java:22) ~[server-intermediary.jar:?] at net.minecraft.class_3738.run(class_3738.java:18) ~[server-intermediary.jar:?] at net.minecraft.class_1255.method_18859(class_1255.java:156) ~[server-intermediary.jar:?] at net.minecraft.class_4093.method_18859(class_4093.java:23) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:782) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:164) ~[server-intermediary.jar:?] at net.minecraft.class_1255.method_16075(class_1255.java:130) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:764) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:758) ~[server-intermediary.jar:?] at net.minecraft.class_1255.method_18857(class_1255.java:139) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:743) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:675) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) ~[server-intermediary.jar:?] at java.lang.Thread.run(Thread.java:840) ~[?:?]

Salandora commented 1 month ago

Yeah that's a known bug, I think it was reported in discord. Fixed in fabric-dev-feature-update

Salandora commented 3 weeks ago

New release is out, this should now be fixed.