WolfyScript / WolfyUtils-Spigot

The WolfyUtilities implementation for the Spigot platform
10 stars 4 forks source link

Elite Crafting Table Configuration Issues #47

Closed BeepoWuff closed 1 year ago

BeepoWuff commented 1 year ago

These fixes primarily address issues that were causing the elite crafting table settings to not load correctly on custom items in the CustomCrafting editor GUI but would effect other areas. One of these that I noted was the vanillaBook / autoDiscover multi choice configuration button.

  1. The initial issue of indexedData not being copied in clone operations was causing all elite crafting table settings to not load in the CustomCrafting item editor GUI as these are now stored under the data field. The behaviour was somewhat odd as it was falling back to the old customDataMap which the GUI no longer controls.
  2. The gridSize multiple choice button was then always defaulting to the 3x3 option. I noted that preRender which actually runs the stateFunction was getting the right state setting but then never doing anything with it which caused all the following functions ( render, execute, etc ) to always use the default of zero. Calling setState for valid states in preRender seemed to fix this.