borknbeans / LightweightInventorySorting

MIT License
6 stars 4 forks source link

Internal server freeze after placing a chest next to another that was ordered before #16

Open vico93 opened 2 months ago

vico93 commented 2 months ago

I got this strange issue in my singleplayer world after tried to make a double chest placing another chest on the side of one already placed. But when i did it the internal server simply stopped.

In the latest.log the mod seems to start spamming lots of lots of issues when i first clicked on the chest to order, and when i placed the other chest a stackoverflow error happened and the internal server froze.

borknbeans commented 2 months ago

Hello sorry for the issue you are experiencing! So just to make sure I understand what happened, can you verify if these were the steps that created this issue, otherwise would you mind correcting me:

  1. You had a single chest already placed with items inside of it
  2. You placed a second chest next to it, therefore turning it into a double chest
  3. You then opened that double chest and sorted it which resulted in the crash

Thanks for attaching the log, its super helpful!

vico93 commented 2 months ago

Actually it was the following:

  1. I had a single chest placed with items, and i sorted its contents a couple of times before;
  2. So i placed the second chest to make a double chest
  3. But right after placing (without even trying to open it) the internal server froze.
borknbeans commented 2 months ago

I am having issues recreating this. Any help is welcomed.