Project MMO

Project MMO

10M Downloads

Enchantments Imposing Debuff Despite Requirements Disabled

SomewhatDamaged opened this issue ยท 1 comments

commented

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:

  1. Edit .minecraft\saves\<save name>\serverconfig\pmmo-server.toml to reflect the above changes.
  2. Load into creative game and get a diamond sword.
  3. Verify that holding sword has no negatives
  4. Enchant sword to have Mending
  5. Verify that holding sword now inflicts Weakness 3

Screenshots
Sword without mending
Sword Without Mending
Sword with mending
Sword With Mending

Versions:

  • Minecraft: 1.19
  • Loader: Forge 41.1.0
  • PMMO: 1.19-0.3.2
commented

This was brought to my attention already in discord and was resolved in 08f3a0c. This will be in the next release.