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
  • #256

Closed (moved)
(moved)
Open
Created Jan 06, 2021 by Michał Panda@PolskaPanda

[MythicItems] Consumable items are breaking in the offhand

MYTHICMOBS 4.11.0 MYTHICARIFACTS 0.1.30 TUINITY 1.16.4

Summary

Consumable items (those with consumeUsedItem mechanic) still keep their effects after being consumed. Usually changing item slots works. If you have it in the offhand (like in my case), the consumables keep their effects on the bare hands even if you change the slots.

Steps to reproduce

Example item:

https://pastebin.com/jUNhSG6F

Any item that has an effect and consumeUsedItem will keep the effect after consuming.

Current behavior

I cannot make consumable items AT ALL. It's really impactful.

Intended correct behavior

Skills shouldnt set off when their parent item is not in hand.

Server log file

Don't think it's needed in this case. Can provide if asked.

Debug log snippet

https://pastebin.com/nv1pnQbJ

Proposed fixes

Probably consumeUsedItem mechanic bug. Maybe need additional conditions.

Edited Jan 06, 2021 by Michał Panda
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking