YanFly's Attachable Augments & Maliki's Attachable Augments EX 1, "Cannot Detach" error

Hello,
If I understand Yanfly's notetag syntax correctly to make it so that an augment can't be detached when added you would do this:

<Augment Attach: Resist>
Cannot Detach
Add State Resist: Poison
</Augment Attach: Resist>

What I want to do is use both scripts in the title to have an equipment system whereby you can find equipment that already have augments added but they can't be removed, along with permanently adding augments to equipment's empty slots and not being able to remove them.
I get a bunch of errors if I set up an item with the "Cannot Detach" as an augment effect. Am I doing something wrong?
Relevant Info: Testing this I made an Item (Item ID 0019) that has the notetag above.
Then I have a shield I have the player find that has

<preAugment:item 19, none>

here's a screenshot of the errors & order of my scripts
Have you tested the item when my plugin is turned off?
Have you tested the item when my plugin is turned off?

Alright, just did it. It works to allow for it to be like that to where the slots are empty and when you attach an augment with the "Cannot Detach" in the notetag setup you can't remove it, just as that all worked before I got your plugin. I love your plugin for it's ability to have it so that you can find equipment with augments already in them, but the only problem is that it gives the error in the screenshot above if I have "Cannot Detach" as the property.

The TLDR of what I'm trying to do: have an equipment system similar to FFX: where you can find weapons and armor that already have augments in them, the augments can't be removed, but there are also some that will have empty slots that you can put augments into.

As soon as I take the "Cannot Detach" Notetag out of:

<Augment Attach: Resist>
Cannot Detach
Add State Resist: Poison
</Augment Attach: Resist>

...everything works, Yanfly's Plugin and yours, the thing is I keep suspecting there is some way to make your plugin work with that "Cannot Detach" being in there, because it is a tag Yanfly has in his help area as an option for you to give to augment items.

Another Edit: I was thinking about the various options and thought: What if Maliki didn't intend for us to use his plugin as if we made custom slots on the weapons and armor? So I took the custom slot notetags off. Before, for all of my armor and weapons in the data base I had custom slot notetags like this:

<Augment Slots>
Ward
</Augment Slots>

in this example it adds a custom slot called 'Ward' to the armor, for weapons I had "Strike" and for helmets and shields I had "Resist."

So when you take those off and do a playtest of course the equipment has the default slots, for weapons: Glyph, Mark, Orb, Orb, and armor: Sphere, Orb, Orb, Orb,

so then using your notetag of course I put this on the Yew Buckler:

<preAugment:item 0019, none, none, none>

and then this on item 19 which is named Resist Poison

<Augment Attach: Sphere>

Cannot Detach

Add State Resist: Poison

</Augment Attach: Sphere>

but I still get the slew of errors, will compare them to the other screenshot to see if they are the same.

Alright in the last two screenshots here you can see where I took out the "Cannot Detach" from the notetag and then it works as expected, you can find the shield with the Resist Poison in the slot there.

So it definitely seems like it doesn't like that "Cannot Detach" for some reason, this is so close to what I want in an equipment system but just not quite there, if you have any ideas for a workaround let me know
I'm not in front of my pc at present. I will look over the code in a bit. And to help with that, could you tell me the version number for YFs plugin?
I'm not in front of my pc at present. I will look over the code in a bit. And to help with that, could you tell me the version number for YFs plugin?
version 1.11
Please try my tag without the leading zeros.
Instead of
<preAugment:item 0019, none, none, none>
try
<preAugment:item 19, none, none, none>
Please try my tag without the leading zeros.
Instead of
<preAugment:item 0019, none, none, none>
try
<preAugment:item 19, none, none, none>

unfortunately still gives those errors and works the same when I take "Cannot Detach" off

Another thing I'm thinking now: it's not really mentioned in Yanfly's video on the Plugin (or in the plugin help section either) when you make an item in the database that is to be the augment what should the settings be like? What should:

'Item Type,' 'Consumable (Yes/No),' 'Scope' and Occasion be?

I mean I figure it should be Regular Item, No on "Consumable" Scope: None and 'Occasion: Never'

Just a shot in the dark, not sure if these could possibly be variables in the problem here since everything in yanfly's script works with me having them set like that, but idk...
Thanks for your patience.

I fixed the issue.
Please redownload my plugin and it should work fine.
Thanks for your patience.

I fixed the issue.
Please redownload my plugin and it should work fine.
Thanks so much, you're awesome. Going to test it out now, sorry for the late reply, I had run into another snag when messing with shop processing earlier today

EDIT: Alright it works!

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-attachable-augments-malikis-attachable-augments-ex-1-cannot-detach-error.116401/