FoundationGames / Phonos

A FabricMC mod adding radio and audio related blocks.
MIT License
12 stars 8 forks source link

Dedicated server crash - java.lang.NoSuchMethodError: net.minecraft.class_3414.method_14833()Lnet/minecraft/class_2960; #2

Closed ProsperCraft closed 3 years ago

ProsperCraft commented 3 years ago

https://gist.github.com/ProsperCraft/92751eae2d19cd14b2b9537d78714c67 Put a disc in a jukebox and press play.

FoundationGames commented 3 years ago

This is really odd... Phonos has worked fine on the ModFest server without issues, yet here it's not finding that method on your dedicated server? Strange... I think I will be able to fix this issue though.

jgshaban commented 3 years ago

Don't know if it'll help any or not, but I've been having the same issue with the radio jukebox. I'm also running a dedicated minecraft server like ProsperCraft is. However, I suspect ProsperCraft and I don't have the same mods loaded. I have a link to the crash report below.

Some more information for you, if it helps:

I'd be happy to provide more information if you need it.

crash-2020-11-29_17.35.01-server.txt

Giggitybyte commented 3 years ago

This exception is also thrown on my server instance as well. https://paste.thegiggitybyte.me/nBUuKMAsrs

dandin87 commented 3 years ago

Same Crash on the All Of Fabric 3 Public Servers. https://hastebin.com/zoqizovato.yaml

Giggitybyte commented 3 years ago

After debugging this project, it looks like SoundEvent.getId() is a client sided method, which causes an exception and a crash when used on a dedicated server.

https://paste.thegiggitybyte.me/bDEGenKTlV

BloodTiger commented 3 years ago

I have same issue. @FoundationGames, can you fix this? This mod is wonderful and we always wanted autoplay jukebox on our server.

Dadadah commented 3 years ago

I encountered this issue as well. I fixed it to get my dedicated server to stop crashing when I connected. @FoundationGames please review this PR ASAP to get this fix into the AOF 3 modpack. Thanks.

Lhruggles commented 3 years ago

also getting this bug

FoundationGames commented 3 years ago

Was fixed in 0.1.1, Thanks for the bug report!