Describe the bug
You can bypass the armor restrictions by either Shift clicking inside the player inventory or by setting the armor into a dispenser and having it dispensed on the player.
Minecraft and Fabric version
minecraft - 1.20.1
fabric - 0.15.3 (api 0.91.0)
Config changes
no
Other mods installed
same result with/without any additional mods
To reproduce
Steps to reproduce the behavior:
- Go into creative
- Give yourself a leather helmet
- Go into survival
- Press E to open inventory
- Hold Shift and Left click on the helmet
- You have now equipped the helmet
Expected behavior
Not equip the locked armor
Describe the bug
You can bypass the armor restrictions by either Shift clicking inside the player inventory or by setting the armor into a dispenser and having it dispensed on the player.
Minecraft and Fabric version
minecraft - 1.20.1
fabric - 0.15.3 (api 0.91.0)
Config changes
no
Other mods installed
same result with/without any additional mods
To reproduce
Steps to reproduce the behavior:
Expected behavior
Not equip the locked armor