Items set to unbreakable lose durability

Discussion in 'Bug Reports' started by Elspar2, Nov 2, 2019.

  1. Elspar2

    Elspar2 New Member

    Joined:
    Jun 26, 2018
    Messages:
    7
    Likes Received:
    1
    Version: MMOItems 4.7.20 on Spigot 1.13.2

    Items that have 'Unbreakable' set to true in the gui, lose durability.
    Custom durability is not the issue, it's the default minecraft durability that has the different textures possible.
    In example: A diamond axe has 2 textures set, 1 is a dagger texture set to appear after it's taken some damage. The other is the default diamond axe texture.
    The axe, while appearing to still be at full durability, will change textures to the dagger, even though it appears to have not taken any damage.
    Images attached below:


    Expected Result:
    2019-11-02_16.03.33.png
    Actual Result: 2019-11-02_16.03.19.png
     
    #1
  2. Indyuce

    Indyuce Developer
    Developer Supporter

    Joined:
    Jun 18, 2019
    Messages:
    18
    Likes Received:
    0
    The unbreakable tag seems to work fine on my end. Can you paste the item configs you used to reproduce the issue?
     
    #2
  3. Elspar2

    Elspar2 New Member

    Joined:
    Jun 26, 2018
    Messages:
    7
    Likes Received:
    1
    I used the in-game GUI to create all the items.
    Here is the item config for one of the items with the issue, I don't remember which other items I made that have the issue, but this one does for sure.
    DIAMOND_AXE:
    material: DIAMOND_AXE
    disable-repairing: true
    disable-smelting: true
    max-durability: 1561.0
    name: §9Diamond Axe
    displayed-type: §9Axe
    attack-damage: 9.0
    attack-speed: 1.0
    unbreakable: true
    tier: RARE
    advanced-craft-permission: diamond.smith
    ability:
    ability1:
    type: SKY_SMASH
    mode: SHIFT_LEFT_CLICK
    damage: 9.0
    cooldown: 2.0
    craft:
    - DIAMOND DIAMOND AIR
    - DIAMOND STICK AIR
    - AIR STICK AIR
     
    #3
  4. Indyuce

    Indyuce Developer
    Developer Supporter

    Joined:
    Jun 18, 2019
    Messages:
    18
    Likes Received:
    0
    Have you tried using the latest version and regenerating the item?
     
    #4

Share This Page