[1.19.2] [2.3.8] Crash due to mod incompatability
UselessRobot opened this issue ยท 3 comments
Version info
Java version: Eclipse Adoptium - jdk-17.0.2.8-hotspot
Minecraft Forge version: 43.3.7
Describe the bug
The game crashes on boot when attempting to launch with this mod:
https://www.curseforge.com/minecraft/mc-mods/weapon-master
Appears to only be a client sided crash.
To Reproduce
- Boot the forge instance with both this mod, Weapon Master (version 1.4.2-1.19.2 was used specifically for my case) and numina.
- The game will crash while in the splash screen.
Expected behavior
No crash.
Mod list
Taken from crash log
- client-1.19.2-20220805.130853-srg.jar
- weaponmaster-1.4.2-1.19.2.jar
- forge-1.19.2-43.3.7-universal.jar
- Numina-1.19.2-2.3.8.jar
- ModularPowersuits-1.19.2-2.3.8.jar
Log files
Crash report:
https://pastebin.com/VKBaG1uZ
Edit: Corrected java version
JDK 8 isn't supported for 1.19.2
Edit:
Your log says Java Version: 17.0.2, Eclipse Adoptium
Other mod's fault. Since capabilities are both client and server side, don't use client side only objects in capability initialization because capabilities exist on both SERVER and client. There should be no logical need to call minecraft.level.random.nextInt() during capability initialization. Plenty of other ways to generate a random integer which don't rely on client side only objects.