[1.18.2] Picked up the cookie and was kicked off the server
QianFuv opened this issue ยท 0 comments
The baked cookie in the picture.
log:
[16:19:17] [Server thread/WARN]: Failed to handle packet for /60.7.108.203:15054
net.minecraft.class_148: Adding item to inventory
at net.minecraft.class_3222.method_14226(class_3222.java:542) ~[server-intermediary.jar:?]
at net.minecraft.class_3244.method_18784(class_3244.java:214) ~[server-intermediary.jar:?]
at net.minecraft.class_2535.method_10754(class_2535.java:247) ~[server-intermediary.jar:?]
at net.minecraft.class_3242.method_14357(class_3242.java:183) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:918) ~[server-intermediary.jar:?]
at net.minecraft.class_3176.method_3813(class_3176.java:322) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273) ~[server-intermediary.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.ClassCastException: class net.minecraft.class_1739 cannot be cast to class io.github.coffeecatrailway.hamncheese.common.item.AbstractSandwichItem (net.minecraft.class_1739 and io.github.coffeecatrailway.hamncheese.common.item.AbstractSandwichItem are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @29ca901e)
at io.github.coffeecatrailway.hamncheese.common.item.AbstractSandwichItem.saveInitialNbt(AbstractSandwichItem.java:57) ~[HamNCheese-fabric-1.18.2-3.1.3.jar:?]
at net.minecraft.class_1799.handler$cgj000$hamncheese$overrideConstructor(class_1799.java:4153) ~[server-intermediary.jar:?]
at net.minecraft.class_1799.(class_1799.java:165) ~[server-intermediary.jar:?]
at net.minecraft.class_1661.method_7385(class_1661.java:211) ~[server-intermediary.jar:?]
at net.minecraft.class_1661.method_7366(class_1661.java:202) ~[server-intermediary.jar:?]
at net.minecraft.class_1661.method_7367(class_1661.java:277) ~[server-intermediary.jar:?]
at net.minecraft.class_1661.method_7394(class_1661.java:263) ~[server-intermediary.jar:?]
at net.minecraft.class_1542.method_5694(class_1542.java:347) ~[server-intermediary.jar:?]
at net.minecraft.class_1657.method_7341(class_1657.java:621) ~[server-intermediary.jar:?]
at net.minecraft.class_1657.method_6007(class_1657.java:594) ~[server-intermediary.jar:?]
at net.minecraft.class_1309.method_5773(class_1309.java:2354) ~[server-intermediary.jar:?]
at net.minecraft.class_1657.method_5773(class_1657.java:275) ~[server-intermediary.jar:?]
at net.minecraft.class_3222.method_14226(class_3222.java:478) ~[server-intermediary.jar:?]
... 9 more
[16:19:17] [Server thread/INFO]: Albion1988 lost connection: Internal server error
[16:19:17] [Server thread/INFO]: Albion1988 left the game