Lock Code in MCreator is broken

Published by Hidan on Sat, 11/10/2018 - 22:21
Status
Works as designed
Type
Product/platform
Not applicable
Priority
Normal
Issue description

So I have exported my Workspace from 1.8.1 to MCR 1.8.1 Bugfix and all mod elements that were locked had its code refreshed :L
and yes when I exported locked mod elements from 1.7.9 they had its code unchanged in 1.8.0

 

Issue comments

Please provide me your workspace so I can test this. I have tested some workspaces and they worked with code not being changed. Thanks!

Keep in mind that your code will have to be changed, if not by unlocking, you will have to change all of the locked elements by hand. More info regarding this: https://mcreator.net/tracker/issue/44631 (bottom comments).

I have tested this myself and code locking works. Most likely the error was in 1.8.0 which might export the mod element without the lock. Try exporting the mod again and importing it again, but the need to re-create or manually edit the code of these elements remains due to some changes in the code structure of MCreator mods.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.