Bug Open

Condition "holding{m=mmoitems.x.x} returns true to every mmoitems of the same type hold in hand

#6847 opened by Unknown 7 months ago

Unknownreported this bug

Summary

Any skills that check for a MMOITEMS holding, return true if you have any mmoitems matching type item in your hand.

Steps to reproduce

Create any skill that have to check for a MMOITEMS holding, like that for exemple:

AllNoneMMO1:
  Conditions:
  - holding{m=mmoitems.SWORD.HEALSWORD} true
  Skills:
  - heal{a=5} @self

Then, try to do a simple "/mm test cast AllNoneMMO1" with any sword that you have created with MMOITEMS. It works.

Current behavior

Every MMOITEMS item type is returning a "true" for the condition matching. Even if the item-id is "CDQHHS"

Intended correct behavior

Only the item with the right ID should be working and return a "true" in the holding condition for mythicmobs.

Server log file

Useless, i have no errors in the logs

Debug log snippet

Useless, i have no errors in the logs

Proposed fixes

Make it works normaly as it should and as it was in previous versions xD

Versions

Server: Paper 1.21.10 (Build 129)

MythicMobs: MythicMobsPremium-5.11.2-SNAPSHOT.jar

MMOItems: MMOItems-6.10.1-20251204.191333-43.jar

MythicLibs: MythicLib-dist-1.7.1-20251205.145545-63.jar

Unknowncommented

Bump!

Sorry for the bump but it's been a month and it's an important issue.

Sign in to join the discussion.