Crash with Twilight Forest
TropheusJ opened this issue ยท 0 comments
What happened?
Twilight Forest causes a crash by accessing Recipe.fits
on the server. Before 1.17, this was a client-only method, and when this changed, a lot of mods didn't make their override match, Culinaire included. Fix is to remove the client annotation here.
Dawn API version
3.3.1
Fabric API version
0.56.1+1.18.2
Relevant log output
java.lang.AbstractMethodError: Receiver class com.hugman.culinaire.objects.recipe.SandwichRecipe does not define or inherit an implementation of the resolved method 'abstract boolean method_8113(int, int)' of interface net.minecraft.class_1860.
at Not Enough Crashes deobfuscated stack trace.(1.18.2+build.3)
at twilightforest.inventory.UncraftingContainer.getRecipesFor(UncraftingContainer.java:303)
at twilightforest.inventory.UncraftingContainer.onContentChanged(UncraftingContainer.java:113)
at twilightforest.inventory.UncraftingInputInventory.setStack(UncraftingInputInventory.java:66)
at net.minecraft.screen.slot.Slot.setStack(Slot:61)
at net.minecraft.screen.slot.Slot.insertStack(Slot:146)
at net.minecraft.screen.ScreenHandler.internalOnSlotClick(ScreenHandler:416)
at net.minecraft.screen.ScreenHandler.onSlotClick(ScreenHandler:295)
at twilightforest.inventory.UncraftingContainer.onSlotClick(UncraftingContainer.java:499)
at net.minecraft.server.network.ServerPlayNetworkHandler.onClickSlot(ServerPlayNetworkHandler:1436)
at net.minecraft.network.packet.c2s.play.ClickSlotC2SPacket.apply(ClickSlotC2SPacket:58)
at net.minecraft.network.packet.c2s.play.ClickSlotC2SPacket.apply(ClickSlotC2SPacket:13)
at net.minecraft.network.NetworkThreadUtils.method_11072(NetworkThreadUtils:22)
at net.minecraft.server.ServerTask.run(ServerTask:18)
at net.minecraft.util.thread.ThreadExecutor.executeTask(ThreadExecutor:157)
at net.minecraft.util.thread.ReentrantThreadExecutor.executeTask(ReentrantThreadExecutor:23)
at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer:808)
at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer:165)
at net.minecraft.util.thread.ThreadExecutor.runTask(ThreadExecutor:131)
at net.minecraft.server.MinecraftServer.runOneTask(MinecraftServer:790)
at net.minecraft.server.MinecraftServer.runTask(MinecraftServer:784)
at net.minecraft.util.thread.ThreadExecutor.runTasks(ThreadExecutor:116)
at net.minecraft.server.MinecraftServer.runTasksTillTickEnd(MinecraftServer:768)
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer:701)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer:273)
at java.lang.Thread.run(Thread.java:833)