fix: *cb command output component root's style getting overwritten with white

This commit is contained in:
ChomeNS
2025-03-19 20:02:33 +07:00
parent 9d6fc74a34
commit 5587565325
2 changed files with 5 additions and 2 deletions

View File

@@ -134,7 +134,10 @@ public class CommandBlockCommand extends Command {
)
.clickEvent(ClickEvent.copyToClipboard(player.profile.getName()))
.insertion(player.profile.getIdAsString()),
output.color(NamedTextColor.WHITE)
Component
.empty()
.append(output)
.color(NamedTextColor.WHITE)
)
.color(NamedTextColor.DARK_GRAY);