sdlink
sdlink copied to clipboard
[BUG] Player Placeholders in embed returning wrong player information with Access Control
Reported By: HypherionSA (hypherionsa)
Original Message: View On Discord
Issue Description:
.replace("%player_avatar%", this.author.getRealPlayerAvatar())
.replace("%player_name%", StringEscapeUtils.escapeJson(this.author.getRealPlayerName().replace("\\_", "_")))
Hmmmmmmm. It's supposed to use the mc name and pfp even with linked names. This might actually be a bug. I'll check it out when I have time
Additional Information (Added by HypherionSA): This needs testing, but it seems like these two placeholders are returning the wrong player information when access control is used. It's returning the linked account information, instead of the mc information
Only %player_avatar% is affected. The player name is showing correctly