GUI Shop

GUI Shop

273k Downloads

Plugin breaks if items are not in order after certain manipulation of plugin

evildeedz opened this issue ยท 3 comments

commented

To Recreate: When the default configs are generated, in menu.yml delete the entire page1 section, then gs reload in game. Now, in the page0 section, remove a few keys from the last slot sections (in my case i did from 49-53). Reload using gs reload in game. When you do /shop menu still opens. However, now if you do /gs edit and remove a few of the slots from one of the rows above, and then close the editor, and you do /shop an internal error occurs, and this is because the slots that were removed in /gs edit are not there. If you fill them up with materials from config manually, and gs reload, this will go away. This is a bug because when the default configs are generated and you remove the slots using gs edit from anywhere in the middle, it doesnt produce this bug.

commented

This has been fixed in 9.1.2.

Thanks for the report!

commented

Are you using 9.0.6?

commented

Yes I am 9.0.6