Atmospheric Phenomena

Atmospheric Phenomena

117k Downloads

Armor Attribute Stacking Bug on /reload Due to Unfixed UUIDs

kbFlawed opened this issue ยท 0 comments

commented

Dear Author,

I encountered an issue while testing your work, and it is currently reproducible.

The Problem:
When I equip armor with a "embossed-like" attribute buff, the armor value increases correctly. However, if I execute /reload while wearing the armor, the player's armor value permanently stacks beyond the intended design. This appears to be a bug outside your original intent.

Root Cause Identified:
The issue stems from not assigning a fixed UUID when defining the attribute modifier. This causes the following:

  1. A random UUID is generated each time the attribute is applied.
  2. Upon reloading, if the UUID differs from the previous instance, the game treats it as a new modifier and adds it cumulatively.

Request:
If this is confirmed as a bug, I kindly ask you to:

  1. Fix the issue by assigning fixed UUIDs to attribute modifiers.
  2. Release an updated version for users to download.

Thank you for your attention to this matter!