Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mace attributes are always addition to Base stats, instead of setting them. #4055

Open
6 tasks done
EnderQuinn opened this issue Oct 14, 2024 · 0 comments
Open
6 tasks done
Labels
type: bug Something isn't working

Comments

@EnderQuinn
Copy link

Terms

  • I'm using the very latest version of ItemsAdder and its dependencies.
  • I am sure this is a bug and it is not caused by a misconfiguration or by another plugin.
  • I've looked for already existing issues on the Issue Tracker and haven't found any.
  • I already searched on the plugin wiki to know if a solution is already known.
  • I already searched on the forums to check if anyone already has a solution for this.
  • I tested this with just ItemsAdder and its dependencies and with a vanilla client of the same version as the Server.

Discord Username (optional)

umezawashino

What happened?

When configuring attributes, the mace attributes always ends up adding to the base attributes of the player:
image

This isn't intended, and instead of adding to the base attributes, it should "Set" the base attributes of the player, like so:
image

Steps to reproduce the issue

Simply create an custom item config, make the resource material mace, add custom attributes.

Server version

This server is running Paper version 1.21-124-master@df3b654 (2024-08-02T00:02:38Z) (Implementing API version 1.21-R0.1-SNAPSHOT)

ItemsAdder Version

4.0.2-beta-release-12

ProtocolLib Version

5.3.0-SNAPSHOT-726

LoneLibs Version

1.0.59

Full Server Log

https://mclo.gs/yZHB2ou

Error (optional)

No response

Problematic items yml configuration file (optional)

upgraded_club:
    display_name: "ᴜᴘɢʀᴀᴅᴇᴅ ᴄʟᴜʙ"
    permission: umess_items
    durability:
      max_custom_durability: 200
    attribute_modifiers:
      mainhand:
        generic.attack_damage: 12
        generic.attack_speed: 0.75
    lore:
      - ''
      - '&7ʀᴀʀɪᴛʏ: ᴄᴏᴍᴍᴏɴ'
    resource:
      material: MACE
      generate: true
      textures:
        - weapons_tools/blunts/upgraded_club.png

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

@EnderQuinn EnderQuinn added the type: bug Something isn't working label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant