MV [YEP_X_ItemRequirements] Item that can only be used on certain map

Because of certain limitations with another plugin, I need certain items to only be usable on map 2. I tried the following, but they fail to enable the item:

<Enable Requirements>
Eval: $gameMap._mapId == 2
</Enable Requirements>

Edit: I tried typing $gameMap._mapId == 2 into the console and it evaluated to true. I have genuinely no clue what's wrong.
since youre already using js, have you tried a <Custom Enable Requirement> variant of your notetag?
since youre already using js, have you tried a <Custom Enable Requirement> variant of your notetag?
Thanks I completely missed that feature! It works!

Original thread: https://forums.rpgmakerweb.com/threads/yep_x_itemrequirements-item-that-can-only-be-used-on-certain-map.170102/