SpongePowered / Sponge

The SpongeAPI implementation targeting vanilla Minecraft and 3rd party platforms.
MIT License
383 stars 210 forks source link

ValueChangeEvent does not fire with CustomData #4100

Open DrZoddiak opened 1 month ago

DrZoddiak commented 1 month ago

Affected Product(s)

SpongeForge, SpongeVanilla

Version

API11

Operating System

Windows

Java Version

21

Plugins/Mods

SpongeVanilla
Test Plugin

Describe the bug

When offering custom data to a ServerPlayer. The data is successfully offered, the transaction result is a success.

Sponge Data fires correctly for this event.

Example Code:

https://gist.github.com/DrZoddiak/22e9ed9bb134e88683a5cdc17ff75e20

Link to logs

No response