Refined Relocation

Refined Relocation

3M Downloads

Divide by zero error when clicking scollbar

rjbohlender opened this issue ยท 1 comments

commented

If you click the scroll bar and try to move it when you're looking at a sorting chest's filter gui you receive an immediate divide by zero error. Crash report always reports the following:

java.lang.ArithmeticException: / by zero
    at com.dynious.refinedrelocation.gui.widget.GuiFilterList.drawBackground(GuiFilterList.java:76)
commented

Thanks for the report, I'll have a look at fixing this tomorrow. Should be fixed in the next update! I was thinking this could happen when I added the scrolling, but I couldn't get it to crash, so I didn't add protection for it. And now it happens. That's what I get for being lazy :P