Lekavar / DrinkBeer

GNU Affero General Public License v3.0
8 stars 15 forks source link

Crashing when placing spice drinks #55

Open Pixal-Aqua opened 2 years ago

Pixal-Aqua commented 2 years ago

Servers crash when placing spice drinks [1.18.1 Fabric 0.12.12]

Lekavar commented 2 years ago

Any crash logs?

Pixal-Aqua commented 2 years ago

The only thing that show up is "{"message":"No token found by given ID.","code":"tokens.not_found","data":{},"success":false,"error":false}"

Pixal-Aqua commented 2 years ago

Hey, sorry I found a better one " ---- Minecraft Crash Report ---- // Don't be sad. I'll do better next time, I promise!

Time: 1/1/22, 9:10 AM Description: Exception in server tick loop

java.lang.NoSuchMethodError: 'net.minecraft.class_1799 lekavar.lma.drinkbeer.block.entity.MixedBeerEntity.getPickStack(net.minecraft.class_2680)' at lekavar.lma.drinkbeer.block.MixedBeerBlock.method_9536(MixedBeerBlock.java:98) at net.minecraft.class_4970$class_4971.method_26197(class_4970.java:913) at net.minecraft.class_2818.method_12010(class_2818.java:250) at net.minecraft.class_1937.method_30092(class_1937.java:213) at net.minecraft.class_1937.method_8652(class_1937.java:198) at net.minecraft.class_1937.method_8650(class_1937.java:273) at net.minecraft.class_3225.method_14266(class_3225.java:249) at net.minecraft.class_3225.method_21717(class_3225.java:221) at net.minecraft.class_3225.method_14263(class_3225.java:196) at net.minecraft.class_3244.method_12066(class_3244.java:1019) at net.minecraft.class_2846.method_12361(class_2846.java:34) at net.minecraft.class_2846.method_11054(class_2846.java:8) at net.minecraft.class_2600.method_11072(class_2600.java:21) at net.minecraft.class_3738.run(class_3738.java:18) at net.minecraft.class_1255.method_18859(class_1255.java:151) at net.minecraft.class_4093.method_18859(class_4093.java:23) at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:780) at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:162) at net.minecraft.class_1255.method_16075(class_1255.java:125) at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:762) at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:756) at net.minecraft.class_1255.method_18857(class_1255.java:134) at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:741) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:688) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) at java.base/java.lang.Thread.run(Thread.java:833)" @Lekavar

Iljimae520 commented 2 years ago

The server I admin on has had a similar issue when placing a spiced beer the server crashes and any attempt to break one after it's been placed crashes the server and on server reboot the spiced beer is still there (/setblock air has same issue as breaking it by hand). The only way we found to get rid of them is to break the block under them. Which crashes the server but on reboot the spiced beer is gone.

Stygiannite commented 2 years ago

Same issue here.

Sotarnicus commented 2 years ago

Got this issue too. Not sure as to the fix but commenting here for updates

jrgitwubs commented 1 year ago

Got this issue too. Not sure as to the fix but commenting here for updates

Apparently, the issue lies here since the function doesn't exist on the server:

image

I created a PR for 1.18 since that's what my friend's using and the first tests were positive. Could you try that and see if it works?

Pixal-Aqua commented 1 year ago

Got this issue too. Not sure as to the fix but commenting here for updates

Apparently, the issue lies here since the function doesn't exist on the server:

image

I created a PR for 1.18 since that's what my friend's using and the first tests were positive. Could you try that and see if it works?

I sadly can't the server I was helping run with this mod has closed, sorry.