Could not pass event FurnaceSmeltEvent
LcyDev opened this issue · 19 comments
❗ Checklist
- I am using the official english version of Slimefun and did not modify the jar.
- I am using an up to date "DEV" (not "RC") version of Slimefun.
- I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
- I searched for similar open issues and could not find an existing bug report on this.
📍 Description
N/A
📑 Reproduction Steps
Unknown
💡 Expected Behavior
N/A
📷 Screenshots / Videos
No response
📜 Server Log
https://paste.gg/p/ConaII_/ce0b4a7588a34a96a7b233f099e54ec7
📂 /error-reports/
folder
No response
💻 Server Software
git-Purpur-1892
🎮 Minecraft Version
1.19.x
⭐ Slimefun version
DEV - 1039 (git 3ae41d5)
🧭 Other plugins
No response
Can you try the latest source of CustomCrafting?
The plugin config shouldn't matter
Both plugin folder and plugin here
https://www.mediafire.com/file/3c6w4rf6cuscivi/CustomCraft.zip/file
With the files you provided i cant reproduce the issue.
Could you send the whole folder of plugins/CustomCrafting/
This doesnt seem like a slimefun issue more a paper issue.
What version of paper do you run?
Nice catch boomer.
Try latest version of Purpur if that doesnt work try latest of papermc.
if that doesnt work report back
At least i can't replicate it (I'm guessing it was by smelting in the Enhanced Furnace? but i'm not sure)
I tried all 10 levels
[01:00:42] [Server thread/ERROR]: Could not pass event FurnaceSmeltEvent to Slimefun vDEV - 1040 (git ec3ce73)
java.lang.NullPointerException: null
Okay looking at the code i might have found the problem.
Do you have anything that is giving a minus luck value.
Thats the only thing i can see right now causing an issue
@LcyDev If you have discord please join the slimefun discord server and ping me in #offtopic
Slimefun server https://discord.gg/slimefun
My discord J3fftw#0806
Okay looking at the code i might have found the problem. Do you have anything that is giving a minus luck value. Thats the only thing i can see right now causing an issue
Minus luck? i have paper's alternate-luck-formula
on but idk if it's related
LcyDev - we are going to do a test on a build, but we need the steps that caused the error to begin with. can you please provide those?
I will try but so far i never been able to replicate the error myself, I don't know what my players are up to
LcyDev - we are going to do a test on a build, but we need the steps that caused the error to begin with. can you please provide those?
Ok, one admin suggested what could be the cause of this and he was in fact, correct.
It has to do with custom recipes with furnaces. I confirmed it with CustomCrafting but i don't know if it happens with datapack recipes too
So i narrowed it down to luck.
Your error points to some line of code where we calculate luck for items that are smelted to give multiplied output.
But it can also be customcrafting for other blocks.
Im not sure how its calculated.
But feel free to send your custom crafting config on here so we can do some testing