Cooking for Blockheads (Fabric Edition)

Cooking for Blockheads (Fabric Edition)

2M Downloads

ArrayIndexOutOfBoundsException when clicking on cooking table crashes server (1.18.2)

MoonMoonShark opened this issue ยท 3 comments

commented

Minecraft Version

1.18.x

Mod Loader

Forge

Mod Loader Version

40.1.84

Mod Version

cookingforblockheads-forge-1.18.2-12.2.0.jar

Describe the Issue

clicking on cooking table crashes the server

Logs

https://pastebin.com/55TcAGfX

Do you use any performance-enhancing mods (e.g. OptiFine) or custom server distributions (e.g. SpongeForge)?

this mod is being used in https://www.curseforge.com/minecraft/modpacks/the-lighthouse on a private, community server. i would be honored to invite you to our server, or work with you to troubleshoot this issue.

commented

i was fiddling with it more yesterday. i can place the table singularly and it works. i can place it with empty cupboards, and it works. i can put basic stuff into the cuboards, and it still works. so i suspect there's something specific about what the users on my server have IN their cupboards, so i'm going to try taking everything apart and rebuilding it at their locations.

commented

i removed everything from the cupboards and started putting things back. it broke when i got to kelp. so i took out the kelp and tried other things. then i realized it didn't break when i got to kelp, it broke when i had more than a half full cupboard! i have the cupboards set to full sized, so it was crashing when it contained more than a small chest worth of contents.

so then i thought maybe i'd delete the config file and rebuild it, in case there was something wonky about the cupboards, only to discover that on the server, the config file was set to "largeCounters = false" even though it was SHOWING full sized cupboards!

so i've turned off the server, changed the config, and now i'm going to start it back up again. we'll see if that fixes it.

commented

yup. that fixed it. dang, i feel dumb. this is what i get for trying to troubleshoot with a migraine for a month...