Legacy4J

Legacy4J

224k Downloads

[Bug/Glitch] Crashes on a modded neoforge server after trying to exit the crafting menu

Closed this issue ยท 1 comments

commented

Legacy4J Version

1.20.1

Mod Loader Version

Neoforge 47.1.106

Bug/Glitch Occurrence Context

On a modded Neoforge 1.20.1 server without the L4J mod, the client with the mod crashes after trying to exit the crafting menu.

Crash Report

https://mclo.gs/oQ5K1pX

What happened wrong?

According to the log, it is "Caused by: java.lang.NullPointerException: Registry Object not present: legacy:random.back"

commented

Unfortunately, this can be fixed without removing the back sound when closing an interface, as for some reason, NeoForge/Forge doesn't allow to use client side sounds (that aren't registered on the server side)