From 515092a8842eff1720b1a0b8c7686b718998a2ed Mon Sep 17 00:00:00 2001 From: Aria Date: Thu, 28 Nov 2019 20:21:09 +0100 Subject: [PATCH] Fixed player head texture values for classes --- .../net/Indyuce/mmocore/api/player/profess/PlayerClass.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/Indyuce/mmocore/api/player/profess/PlayerClass.java b/src/main/java/net/Indyuce/mmocore/api/player/profess/PlayerClass.java index 1101c1b6..d1ae7fb5 100644 --- a/src/main/java/net/Indyuce/mmocore/api/player/profess/PlayerClass.java +++ b/src/main/java/net/Indyuce/mmocore/api/player/profess/PlayerClass.java @@ -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 {