Takeitem takes MM items even when it should just take vanilla items
Summary
When using the MM skill mechanic takeitem, and using a vanilla item, it will take whatever the first item is, even if it is a MM item. This includes when using exact=true or vanillaonly=true.
I am trying to make an item with crucible that will take 36 of an item (pumpkins to start with) and give the player 1 mythicmobs item (EnPumpkin in this case) that has the same base item (pumpkin).
Steps to reproduce (There may be an easier way to test this. This is just the way I found it).
1, Create an item that triggers a skill
2, Create the skill:
PumpkinCom:
Conditions:
- hasitem{i=pumpkin;amount=>35;exact=true} true
Skills:
- takeitem{i=pumpkin;amount=36;vanillaonly=true} @Self
- giveitem{i=EnPumpkin;amount=1} @Self
(You could probably leave out the "giveitem")
3, Get (in this case) 36 pumpkins and 1 or more EnPumpkin
EnPumpkin:
Id: pumpkin
Display: '§l§aEnhanced Pumpkin'
Lore:
- '§l§aUncommon'
ItemUpdater:
Version: 3
Options:
PreventCrafting: true
Glint: true
^(this is my current EnPumpkin Item).
4, With the trigger item, 36 pumpkins and 1 or more EnPumpkin (EnPumpkin to the left of the pumpkin. In the hotbar is the easiest to see,) trigger the skill. You will end up with 1 EnPumpkin and 1 Pumpkin instead of the 2 EnPumpkins you should end up with.
Current behavior
Currently, it takes the EnPumpkin (since it has the same material) and then 35 pumpkins (since the skill asks for 36). This stays consistent even if you use "exact=true" or "vanillaonly=true" or both. The condition still works as intended, only counting vanilla items. Also, there doesn't seem to be any issues with the condition line. It works as intended.
Intended correct behavior
It should skip/ignore the MM items and take the vanilla items when either "exact=true" or "vanillaonly=true" or both.
Server log file
Here it is, but nothing appears in console and there are no startup errors for this. (P.S. Sorry for the messy log. I am running 20+ plugins and have plenty of random MythicMobs things I have yet to fix, but don't really matter for this server or to this bug). https://mcpaste.io/a08e93f537914cb3
Proposed fixes
I am guessing the issue is with "exact=true" or "vanillaonly=true", as it seems to be targeting any item with the same material/item ID. You may be able to copy whatever works for the condition "hasitem"

