diff --git a/src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java b/src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java index a6f305f8..8cb1553f 100644 --- a/src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java +++ b/src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java @@ -50,7 +50,6 @@ import net.Indyuce.mmocore.api.skill.SkillResult; import net.Indyuce.mmocore.api.skill.SkillResult.CancelReason; import net.Indyuce.mmocore.api.util.math.particle.SmallParticleEffect; import net.Indyuce.mmocore.listener.SpellCast.SkillCasting; -import net.Indyuce.mmoitems.MMOItems; import net.md_5.bungee.api.ChatMessageType; import net.md_5.bungee.api.chat.TextComponent; import net.mmogroup.mmolib.MMOLib; @@ -496,7 +495,7 @@ public class PlayerData extends OfflinePlayerData { } // 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(), getPlayer()); } diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 17ecf8e5..705986c6 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -76,9 +76,7 @@ health-scale: disable-vanilla-regen: false # Allows to toggle exp hologram from gaining experiences -game-indicators: - exp: - enabled: false +display-exp-holograms: true # Players can swap their hotbar with the 9 inventory slots # right above it by pressing [swap items] while crouching.