Version 1.25 Bugfix (revision a)


Good evening everyone.

I have uploaded version 1.25 with the following small change:

  • Revision a (March 1, 2021 0400 GMT): Corrected an issue where if all but one crafting categories were hidden, and a plugin command was called to access one of the hidden categories, the crafting scene would incorrectly call the only unhidden category, instead of the one specified by the plugin command.
  • Replaced all instances of this.parent.parent with SceneManager._scene

This change shouldn't actually make much of a difference to how the plugin runs at all. This change is mainly replacing the method I used to reference the current scene with a much more reliable method. With the old method, plugins that changed how windows were drawn may have made it so that the parent of a window was not the windowlayer object, but something in between it, or may have made it so that the parent of the windowlayer wasn't the current scene, but something sitting between the window layer and the scene. From the beginning, I should have been referencing the current scene via SceneManager, which will always work, and not rely on hoping that some other plugin hadn't changed the hierarchy on me.

The crash was reported by user 'Cris'. I'm not sure which plugin he was using that ended up causing the crash, but I was able to fix it because of his report, so we'll call that a win. Thanks Cris.

To download this update, either redownload the plugin from the store page, or redownload it from your itch.io library.

~Ramza

Files

Plugin Download 297 kB
Mar 01, 2021

Get MV - Crafting System

Buy Now$18.99 USD or more

Leave a comment

Log in with itch.io to leave a comment.