diff --git a/src/main/java/net/Indyuce/mmocore/api/player/Professions.java b/src/main/java/net/Indyuce/mmocore/api/player/Professions.java index 689b2030..edcb3ff0 100644 --- a/src/main/java/net/Indyuce/mmocore/api/player/Professions.java +++ b/src/main/java/net/Indyuce/mmocore/api/player/Professions.java @@ -3,7 +3,6 @@ package net.Indyuce.mmocore.api.player; import java.util.HashMap; import java.util.Map; -import net.Indyuce.mmoitems.MMOItems; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Location; @@ -87,7 +86,7 @@ public class Professions { exp.put(profession.getId(), exp.containsKey(profession.getId()) ? exp.get(profession.getId()) + value : value); // display hologram - if (MMOItems.plugin.getConfig().getBoolean("game-indicators.exp.enabled")) { + if (MMOCore.plugin.getConfig().getBoolean("display-exp-holograms")) { if (loc != null && MMOCore.plugin.hologramSupport != null) MMOCore.plugin.hologramSupport.displayIndicator(loc.add(.5, 1.5, .5), MMOCore.plugin.configManager.getSimpleMessage("exp-hologram", "exp", "" + value).message(), playerData.getPlayer()); }