mirror of
https://github.com/Auxilor/EcoSkills.git
synced 2026-01-02 22:02:19 +00:00
Oops
This commit is contained in:
@@ -19,7 +19,7 @@ class SkillIcon(
|
||||
config: Config,
|
||||
plugin: EcoPlugin
|
||||
) : PositionedComponent {
|
||||
private val hideBeforeLevel1 = plugin.configYml.getBool("hide-before-level-1")
|
||||
private val hideBeforeLevel1 = plugin.configYml.getBool("skill.hide-before-level-1")
|
||||
|
||||
private val baseIcon = Items.lookup(config.getString("icon")).item
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import org.bukkit.event.Listener
|
||||
class GainXPDisplay(
|
||||
private val plugin: EcoPlugin
|
||||
) : Listener {
|
||||
private val hideBeforeLevel1 = plugin.configYml.getBool("hide-before-level-1")
|
||||
private val hideBeforeLevel1 = plugin.configYml.getBool("skills.hide-before-level-1")
|
||||
|
||||
private val sound = if (plugin.configYml.getBool("skills.gain-xp.sound.enabled")) {
|
||||
PlayableSound.create(
|
||||
|
||||
Reference in New Issue
Block a user