NotEnoughUpdates
NotEnoughUpdates copied to clipboard
[Bug] NEU crash
Describe the bug: When I joined SkyBlock today, I got a lagspike and then the game crashed. Looking at the crash report, the game crashed because NEU threw a NullPointerException
.
Mod Version: Latest (2.0.0)
To Reproduce
I do not know what corsed the bug. I joined my island and then NEU crashed. Maybe it's because I got mining XP because my coop emptied the minions? Maybe an API request failed, because NEUManager#getLoreReplacements
threw the error?
Crash report crash-2021-12-29_11.36.37-client.txt
When looking through the source code, the error was caused by this line. Maybe Constants.PETS.has("custom_pet_leveling")
returned null somehow?
When looking through the source code, the error was caused by this line. Maybe
Constants.PETS.has("custom_pet_leveling")
returned null somehow?
It returned null bcs you have a uncomplete repo. Here are a few steps how you can fix the issue: (Please close the issue if the bug has been fixed for you.)
How to fix repo 101
Step 1: Download the repo at - https://github.com/Moulberry/NotEnoughUpdates-REPO/archive/refs/heads/master.zip Step 2: Extract the repo and copy its content - https://cdn.discordapp.com/attachments/807409061138006016/832942353839816724/unknown.png Step 3: Navigate to .minecraft/config/notenoughupdates/ Step 4: Create a repo folder if there are none. Step 5 : Paste the content you just previously copied Step 6 : The final results should look like this - https://cdn.discordapp.com/attachments/807409061138006016/832943231359909898/unknown.png