Enchantments Imposing Debuff Despite Requirements Disabled
SomewhatDamaged opened this issue ยท 1 comments
Describe the bug
In pmmo-server.toml
I have disabled the following:
#Should requirements apply for the applicable action type
[Requirements.Req_Enabled]
"WEAR Req Enabled" = false
"USE_ENCHANTMENT Req Enabled" = false
"TOOL Req Enabled" = false
"WEAPON Req Enabled" = false
"USE Req Enabled" = false
"PLACE Req Enabled" = false
"BREAK Req Enabled" = false
"KILL Req Enabled" = false
"TRAVEL Req Enabled" = false
"RIDE Req Enabled" = false
"TAME Req Enabled" = false
"BREED Req Enabled" = false
"INTERACT Req Enabled" = false
"ENTITY_INTERACT Req Enabled" = false
This results in weapons/armor/tools all now lacking any requirements (confirmed with tooltips), but as soon as you put Mending on a sword you get Weakness 3 applied.
Expected behavior
There should be no requirements, hidden or shown, for any items/enchantments.
To Reproduce
Steps to reproduce the behavior:
- Edit
.minecraft\saves\<save name>\serverconfig\pmmo-server.toml
to reflect the above changes. - Load into creative game and get a diamond sword.
- Verify that holding sword has no negatives
- Enchant sword to have Mending
- Verify that holding sword now inflicts Weakness 3
Screenshots
Sword without mending
Sword with mending
Versions:
- Minecraft: 1.19
- Loader: Forge 41.1.0
- PMMO: 1.19-0.3.2
This was brought to my attention already in discord and was resolved in 08f3a0c. This will be in the next release.