Goldorion / File-Manager-MCreator

A MCreator plugin to manage files for Minecraft
GNU Lesser General Public License v2.1
8 stars 7 forks source link

local Variable for json Object does not get created when importing a saved procedure #36

Open northwesttreesgaming opened 1 year ago

northwesttreesgaming commented 1 year ago

Issue description

Saving a procedure with a local object variable and then importing it to a procedure with no variables will not load the saved variable for the object. Though the file local variable works just fine so it's specifically an issue with the object variable type.

I thought I reported this before but I checked the closed issues and could not find it reported so I though I would report the bug so it could be properly fixed.

How to reproduce this issue?

  1. Make a procedure basic JSON config procedure.
  2. make sure to have local variables for both file, and object.
  3. Save the procedure to your computer
  4. Create a new procedure.
  5. Load the procedure template
  6. The local object file will be blank on all the blocks and on the local procedure tab not created.

Operating system

Windows

Details

Plugin version: 5.6.1 MCreator version: 2023.1 Generator type: 1.19.2

But it has been happening for a long time maybe since its creation.

Example workspace

example.zip

Logs

No response

Issue tracker rule checks (please read carefully)

northwesttreesgaming commented 1 year ago

Is this still an issue? I have not updated it yet.

Goldorion commented 1 year ago

Yes, but I'm not sure why it happens and how to fix it.