Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1782

Closed
Open
Created Nov 27, 2024 by mikekevie@mikekevieReporter

TakeItem ignores different mythic items

Summary When there are multiple items with the same material, it will take the first one it finds, even if they have a different name or mythic id.

Steps to reproduce

1: Add the items to the server 2: reload 3: give yourself one of each item in the hotbar (SimpleMysteryBag in slot 1, UniqueMysteryBag in slot 2) 4: use the UniqueMysteryBag (in slot 2) 5: get a gold bar and see the SimpleMysteryBag removed.

items: https://pastebin.com/C6H8gih8 skills: https://pastebin.com/cU69bvpf

Current behavior

You can use this to spend low tier mysterybags to get high tier loot. it takes the first found item instead of the matching one.

Intended correct behavior

it should take the matching items only.

Debug log snippet

https://pastebin.com/AUtkF3mi

Proposed fixes

in a previous build this worked, going back to the behavior of build 5246, (an old build I had laying around that did not have this error)

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking