Bewitchment

Bewitchment

7M Downloads

[1.18.1] Potion drinking causing crash

itsdinkd opened this issue ยท 0 comments

commented

Whenever drinking a potion (even like a health potion) servers are crashing. At least in modpack, Another quality modpack 2, this is the case.

Using latest release of Bewitchment, on 1.18.1

net.minecraft.class_148: Ticking player
    at Not Enough Crashes deobfuscated stack trace.(1.18.1+build.18) ~[?:?]
    at net.minecraft.server.network.ServerPlayerEntity.playerTick(ServerPlayerEntity:543) ~[?:?]
    at net.minecraft.server.network.ServerPlayNetworkHandler.tick(ServerPlayNetworkHandler:213) ~[?:?]
    at net.minecraft.network.ClientConnection.tick(ClientConnection:238) ~[?:?]
    at net.minecraft.server.ServerNetworkIo.tick(ServerNetworkIo:183) ~[?:?]
    at net.minecraft.server.MinecraftServer.tickWorlds(MinecraftServer:890) ~[server-intermediary.jar:?]
    at net.minecraft.server.dedicated.MinecraftDedicatedServer.tickWorlds(MinecraftDedicatedServer:324) ~[?:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer:823) ~[server-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.handler$bia000$modifiedRunLoop(MinecraftServer:5356) ~[server-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer:663) ~[server-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer:270) ~[server-intermediary.jar:?]
    at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.ClassCastException: class net.minecraft.class_3222 cannot be cast to class net.minecraft.class_1293 (net.minecraft.class_3222 and net.minecraft.class_1293 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @32709393)
    at net.minecraft.item.PotionItem.args$ggl000$onFinishedUsing(PotionItem:2531) ~[?:?]
    at net.minecraft.item.PotionItem.finishUsing(PotionItem:48) ~[?:?]
    at net.minecraft.item.ItemStack.finishUsing(ItemStack:256) ~[?:?]
    at net.minecraft.entity.LivingEntity.consumeItem(LivingEntity:3079) ~[?:?]
    at net.minecraft.server.network.ServerPlayerEntity.redirect$bni000$finishedUsingItem(ServerPlayerEntity:7274) ~[?:?]
    at net.minecraft.server.network.ServerPlayerEntity.consumeItem(ServerPlayerEntity:1168) ~[?:?]
    at net.minecraft.entity.LivingEntity.tickItemStackUsage(LivingEntity:2959) ~[?:?]
    at net.minecraft.server.network.ServerPlayerEntity.tickItemStackUsage(ServerPlayerEntity:1645) ~[?:?]
    at net.minecraft.entity.LivingEntity.tickActiveItemStack(LivingEntity:2946) ~[?:?]
    at net.minecraft.entity.LivingEntity.tick(LivingEntity:2312) ~[?:?]
    at net.minecraft.entity.player.PlayerEntity.tick(PlayerEntity:274) ~[?:?]
    at net.minecraft.server.network.ServerPlayerEntity.redirect$bpb000$fixUpdateSuppressionCrashPlayerTick(ServerPlayerEntity:7743) ~[?:?]
    at net.minecra