Server crashing when spawning Zenith bosses when always curse weapons is enabled
TeslaP09 opened this issue ยท 0 comments
The Server always crashes when trying to spawn a Zenith boss when I have "Curse Boss Items" set to true in the adventure.cfg
java.lang.ClassCastException: class net.minecraft.class_1900 cannot be cast to class io.github.fabricators_of_create.porting_lib.enchant.CustomEnchantingTableBehaviorEnchantment (net.minecraft.class_1900 and io.github.fabricators_of_create.porting_lib.enchant.CustomEnchantingTableBehaviorEnchantment are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @4f9a3314)
at dev.shadowsoffire.apotheosis.adventure.boss.ApothBoss.lambda$modifyBossItem$19(ApothBoss.java:283)
At ApothBoss.java line 283, the code indeed tries to enchant the bosses item with a curse, so I know for sure that this is the issue.
full log file here (keep in mind that this is a large modpack):
2024-01-27-7.log
I DID ALSO TEST THIS IN A FULLY ISOLATED ENVIRONMENT:
crash-2024-01-27_16.10.01-server.txt
When I try to spawn a zenith boss via command, the game doesn't crash, but instead, an error gets thrown (tooltip shows the error):
The game did later crash, cuz a boss tried to spawn normally...
Edit: I forgor to provide mod version and fabric loader... My bad
Game version: 1.20.1
Fabric Loader: 0.15.6
Fabric API: 0.91.0+1.20.1
Zenith: 1.0.2-1.20.1
Zenith Attributes: 0.1.3
Fakerlib: 0.1.0
Patchouli: 1.20.1-84-FABRIC