forked from Upstream/mmocore
Fixed player head texture values for classes
This commit is contained in:
parent
2366c2e0f6
commit
515092a884
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user