Slimefun

Slimefun

3M Downloads

Error with Gold Pan in my console log

Boomer-1 opened this issue · 4 comments

commented

❗ 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

i just restarted my server and this error appeared in the console. I don't know what triggered it.

📑 Reproduction Steps

I wish i could tell you, but I didn't do anything

💡 Expected Behavior

no error i guess?

📷 Screenshots / Videos

none

📜 Server Log

https://pastebin.com/Y8738A9r

📂 /error-reports/ folder

https://pastebin.com/FqmHVczV

💻 Server Software

Paper

🎮 Minecraft Version

1.16.x

⭐ Slimefun version

Dev 925

🧭 Other plugins

only slimefun addons are installed.

commented

Looks like the exception is caused by ElectricGoldPan, ElectricDustWasher, and OilPump. These machines use sort of a "hack" where the recipes they use have no input but consume an item anyway.

commented

MachineRecipe recipe = new MachineRecipe(3 / getSpeed(), new ItemStack[0], new ItemStack[] { output });
for example ^

commented

Oh damn, almost pushed the fix but you beat me to it 😄

commented

Just realized... What about the dust washer and oil pump? 😄

EDIT: Patch is here https://pastebin.com/0Z3hpKUH