Bad Syntax Bug: ConsumeUsedDurability

Discussion in 'Bug Reports' started by tappestry, Aug 20, 2019.

  1. tappestry

    tappestry New Member
    Supporter New

    Joined:
    Mar 4, 2016
    Messages:
    18
    Likes Received:
    1
    Enter a brief description of what is broken ConsumeUsedDurability

    What version of Minecraft are you using? 1.14

    What server jar are you using? Spigot 1.14

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? Release/Artifacts

    Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!
    Using artifcated skill ConsumeUsedDurability will eat the entire STACK of items held. For example holding 64 of an item called Firestone (which has a durability and vanishes at 0/0) will consume all 64 firestones when durability hits 0

    Example Configurations
    - ConsumeUsedDurability 1 ~onUse
     
    #1
  2. iTzCascadexX

    iTzCascadexX Member
    Premium Supporter Supporter Moderator Quality Assurance

    Joined:
    Nov 2, 2015
    Messages:
    104
    Likes Received:
    15
    ConsumeHeldItem is the correct syntax for removing just one item. Not specifying an amount defaults to consuming the whole stack.
    Code:
    - consumehelditem{amount=1} @self ~onUse
     
    #2

Share This Page