Skip to content

Commit

Permalink
remove broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed Oct 31, 2022
1 parent 94995db commit fffa778
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ fun Player.translatePlayerHeadComponent(): Component {
if (this !in playerHeadMapCache || playerHeadMapCache[this]!!.font() != Key.key(chattyConfig.playerHeadFont)) {
playerHeadMapCache[this] = getPlayerHeadTexture(ascent = -5)
}
return playerHeadMapCache[this]!!.run { Bukkit.broadcastMessage(this.serialize()); this }
return playerHeadMapCache[this]!!
}

val playerBodyMapCache = mutableMapOf<Player, Component>()
Expand Down

0 comments on commit fffa778

Please sign in to comment.