mirror of
https://github.com/Shimeo98/DiscordWhitelisterSpigot.git
synced 2024-11-28 13:45:18 +01:00
Show skin armour on whitelist
Fixes not showing hair etc. on the players' skin
This commit is contained in:
parent
1b3454300f
commit
d9802b1c1c
@ -8,7 +8,6 @@ import net.dv8tion.jda.api.entities.*;
|
||||
import net.dv8tion.jda.api.events.guild.member.GuildMemberLeaveEvent;
|
||||
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
|
||||
import net.dv8tion.jda.api.hooks.ListenerAdapter;
|
||||
import net.dv8tion.jda.internal.requests.Route;
|
||||
import org.bukkit.configuration.InvalidConfigurationException;
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
import org.bukkit.configuration.file.YamlConfiguration;
|
||||
@ -530,7 +529,7 @@ public class DiscordClient extends ListenerAdapter
|
||||
embedBuilderWhitelistSuccess.setColor(new Color(46, 204, 113));
|
||||
if(DiscordWhitelister.showPlayerSkin)
|
||||
{
|
||||
embedBuilderWhitelistSuccess.setThumbnail("https://minotar.net/bust/" + playerUUID + "/100.png");
|
||||
embedBuilderWhitelistSuccess.setThumbnail("https://minotar.net/armor/bust/" + playerUUID + "/100.png");
|
||||
}
|
||||
|
||||
if(!DiscordWhitelister.useCustomMessages)
|
||||
|
Loading…
Reference in New Issue
Block a user