Open ModifiedMC opened 2 weeks ago
From the lines defined in the crash report, the error (stack count must be one) is happening from vanilla code somehow creating the item stack without a quantity of one without my mod even defining the stack quantity (which would result in a default stack count of 1).
Why this is randomly failing I haven't a clue and have no way to actually correct (doubly so since it's vanilla code that's actually constructing the item stack, I'm simply passing along the item to the creative tab populator for the item being added at the given stack trace lines). All I can assume is that there's some mod in your mod list that is messing up vanilla constructors/functionality.
Edit: Just to be thorough, I tested my mod with this exact version of NeoForge just in case something was changed between 1.21 & 1.21.1 that wasn't mentioned by the NeoForge dev team and still did not encounter this issue and was able to open the creative inventory menu normally, and all of my mods blocks/items were properly located, etc.
Also, just for reference, you don't have to specify that it's the "neo" forge version unless you're in MC 1.20.1, as LC for 1.21 and newer is only playable on neoforge.
My bad, closed the wrong issue
Minecraft Version
1.21
Forge Version
(NEO) 21.1.77
Lightman's Currency Version
1.21-2.2.3.5b
Environment Type
Minecraft Client (Bug/crash happened in a single-player world or while the game was booting)
Other relevant Mods
lc tech v-0.2.1.11
Describe the bug
crash when entering creative, pointing towards lightmans in the logs
To Reproduce
Screenshots/Logs/Crash Reports (FILES ONLY)
latest.log
"The game crashed whilst unexpected error Error: java.lang.IllegalArgumentException: The stack count must be 1 "
crash-2024-11-11_19.47.34-client.txt og)