Fixed player head texture values for classes

This commit is contained in:
Aria 2019-11-28 20:21:09 +01:00
parent 2366c2e0f6
commit 515092a884

View File

@ -68,7 +68,7 @@ public class PlayerClass {
name = ChatColor.translateAlternateColorCodes('&', config.getString("display.name"));
icon = MMOCoreUtils.readIcon(config.getString("display.item"));
if(config.contains("display.headtexture")) {
if(config.contains("display.texture")) {
if(icon.getType() == VersionMaterial.PLAYER_HEAD.toMaterial()) {
ItemMeta meta = icon.getItemMeta();
try {