diff --git a/platform-bungeecord/src/main/java/net/kyori/adventure/platform/bungeecord/BungeeFacet.java b/platform-bungeecord/src/main/java/net/kyori/adventure/platform/bungeecord/BungeeFacet.java index e036c153..2690bd8b 100644 --- a/platform-bungeecord/src/main/java/net/kyori/adventure/platform/bungeecord/BungeeFacet.java +++ b/platform-bungeecord/src/main/java/net/kyori/adventure/platform/bungeecord/BungeeFacet.java @@ -339,9 +339,9 @@ private void broadcastPacket(final int action) { private void updateBarTitle(final BaseComponent[] message) { try { if (SET_TITLE_STRING != null) { - SET_TITLE_STRING.invoke(ComponentSerializer.toString(message)); + SET_TITLE_STRING.invoke(this.bar, ComponentSerializer.toString(message)); } else { - SET_TITLE_COMPONENT.invoke(TextComponent.fromArray(message)); + SET_TITLE_COMPONENT.invoke(this.bar, TextComponent.fromArray(message)); } } catch (final Throwable throwable) { logError(throwable, "Cannot update the BossBar title");