Bug Closed · Resolved

Mythic Mobs hasitem condition no longer works for mmoitems in 5.4.1 premium stable

#4427 opened by Unknown 2 years ago

Unknownreported this bug

Summary

The hasitem condition is not recognizing mmoitems anymore since i updated to 5.4.1 premium stable.

Plugin and Server versions I use Paper 1.20.1 196. MMOItems 6.9.4, Mythic Lib 1.6, Mythic Mobs Premium 5.3.5 (for correct behavior) and 5.4.1 (for broken behavior)

How to replicate the issue

Have MMOItems 6.9.4, Mythic Lib 1.6 and MythicMobs 5.4.1 installed.

Create a skill with the conditon:

  Conditions:
  - hasitem{i=mmoitems.TYPE.ID} true

replacing type.id with some mmoitem you have configured.

Trigger a command or ability to cast the "lootcrate_common" skill while not having that mmoitem in your inventory.

The skill will trigger and run the skill mechanics, bypassing the given hasitem condition

Intended correct behavior

The skill mechanics should not execute because the hasitem condition is not met.

Server Log

https://paste.denizenscript.com/View/116631 (had to use different paste service. Log was too big for pastebin)

Debug log snippet

https://paste.denizenscript.com/View/116633

Proposed fixes

Check what is causing the condition to be ignored, or always return true when it shouldn't and correct the issue in MM code.

Unknowncommented

Not fixed. still doesnt work on build 5.4.4 - 4817

Unknowncommented

Did you manage to find a solution to the problem?

Unknowncommented

not afaik. i changed out to denizen script for some of this stuff bc MM condition isnt working

Sign in to join the discussion.