You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When utilizing the Adventure library's sendActionBar method in a Bukkit plugin on older Minecraft versions (1.8 in this example), a warning related to legacy formatting codes is being erroneously thrown. This warning is specific to the sendActionBar method and does not occur with other methods such as sendMessage or sendTitle. Despite not employing any legacy formatting codes in the codebase, the warning persists, indicating a potential issue within the Adventure library's implementation for older Minecraft versions.
Steps to Reproduce:
Install the provided plugin on a Minecraft server running version 1.8.
Execute the command associated with the plugin that triggers the sendActionBar method, e.g., /showcase.
Observe the console logs for warnings related to legacy formatting codes.
The plugin can easily be tested by running gradle runServer. This will fire up a paper server running 1.8.8, with the latest build of the plugin.
Expected Behavior:
The sendActionBar method should execute without any warnings related to legacy formatting codes, similar to other message-sending methods such as sendMessage and sendTitle.
Actual Behavior:
Warnings related to legacy formatting codes are specifically thrown when utilizing the sendActionBar method, despite the absence of legacy formatting codes in the codebase. Other message-sending methods do not trigger these warnings.
Additional Information:
This issue is not reproducible in version 1.20.4 of Minecraft.
The warning specifically occurs with the sendActionBar method, suggesting a potential discrepancy or bug in its implementation for older Minecraft versions.
There's a client bug in older Minecraft versions that causes the client to not properly handle components sent to the action bar, the legacy text there us a workaround. iirc the legacy warning is gated behind a system property, so just don't enable it if you're working in legacy environments
Description:
When utilizing the Adventure library's
sendActionBar
method in a Bukkit plugin on older Minecraft versions (1.8 in this example), a warning related to legacy formatting codes is being erroneously thrown. This warning is specific to thesendActionBar
method and does not occur with other methods such assendMessage
orsendTitle
. Despite not employing any legacy formatting codes in the codebase, the warning persists, indicating a potential issue within the Adventure library's implementation for older Minecraft versions.Steps to Reproduce:
sendActionBar
method, e.g.,/showcase
.Repository including a showcase project: AdventureBugExample
The plugin can easily be tested by running
gradle runServer
. This will fire up a paper server running 1.8.8, with the latest build of the plugin.Expected Behavior:
The
sendActionBar
method should execute without any warnings related to legacy formatting codes, similar to other message-sending methods such assendMessage
andsendTitle
.Actual Behavior:
Warnings related to legacy formatting codes are specifically thrown when utilizing the
sendActionBar
method, despite the absence of legacy formatting codes in the codebase. Other message-sending methods do not trigger these warnings.Additional Information:
sendActionBar
method, suggesting a potential discrepancy or bug in its implementation for older Minecraft versions.Environment:
Possibly related to #86
The text was updated successfully, but these errors were encountered: