Bug Open

EquipConditions and EquipLevel not working

#6469 opened by Unknown 1 year ago

Unknownreported this bug

Current Version: MythicCrucible-2.1.0.jar

Context: I have been trying to restrict certain armor from being equipped base on the player's experience level.

Issue: No matter whether using EnchantingLevel{l=>X} or any conditions in EquipConditions, the plugin does not stop players from equipping the armor.

My item.yml file with the equipment in question:

ninjaHelmet1:
  Id: chainmail_helmet
  Display: <gray>Ninja Helmet</gray>
  ItemUpdater:
    Version: 1
  EquipConditions:
  - EnchantingLevel{l=>49} true
  Lore:
    Template: BasicWeaponTest
    Level: '<dark_green>Level: 50'
  CustomDurability: 100
  EquipLevel: 50
Sign in to join the discussion.