Spartan Weaponry

Spartan Weaponry

48M Downloads

Latest version of 1.20.1 crashes the server

ImTestingWisdom opened this issue ยท 2 comments

commented

Hello,

I would like to report an issue with Spartan Weaponry version 3.2.0 for 1.20.1, used in a custom modpack.

I tried updating the mod from 3.1.3 and now the server crashes. It doesn't create a crash report, it only starts running again after downgrading again.

Here is an isolated log of the error: https://mclo.gs/DoXweMo

commented

This is the culprit for the crash:

Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/color/item/ItemColor
	at com.oblivioussp.spartanweaponry.client.OilCoatingColours.<clinit>(OilCoatingColours.java:18)

This line references a client-only class in a server context, which will cause it to crash, hopefully it's fixed soon

commented

Thanks for letting me know about this.
This is why it is important to do server-testing before releasing a new version, especially when larger internal changes happens.
This fix will be released in version 3.2.1, which I'll release shortly.