diff --git a/pcbridge-paper/src/main/kotlin/com/projectcitybuild/pcbridge/paper/features/builds/commands/builds/BuildVoteCommand.kt b/pcbridge-paper/src/main/kotlin/com/projectcitybuild/pcbridge/paper/features/builds/commands/builds/BuildVoteCommand.kt index 80c6df1a..7eea57dd 100644 --- a/pcbridge-paper/src/main/kotlin/com/projectcitybuild/pcbridge/paper/features/builds/commands/builds/BuildVoteCommand.kt +++ b/pcbridge-paper/src/main/kotlin/com/projectcitybuild/pcbridge/paper/features/builds/commands/builds/BuildVoteCommand.kt @@ -48,8 +48,12 @@ class BuildVoteCommand( val build = buildRepository.vote(name = name, player = player) + val miniMessage = MiniMessage.miniMessage() context.source.sender.sendMessage( - MiniMessage.miniMessage().deserialize("You voted for ${build.name}") + miniMessage.deserialize("You voted for ${build.name}") + ) + plugin.server.broadcast( + miniMessage.deserialize("${player.name} voted for build \"${build.name}\"") ) } } \ No newline at end of file