mirror of
https://github.com/Auxilor/EcoSkills.git
synced 2026-01-06 15:51:52 +00:00
Fixed action bar on 1.19+
This commit is contained in:
@@ -11,7 +11,7 @@ import org.bukkit.event.Listener
|
||||
import org.bukkit.event.player.PlayerGameModeChangeEvent
|
||||
import java.util.UUID
|
||||
|
||||
private const val ACTION_BAR_DURATION = 3000L
|
||||
private const val ACTION_BAR_DURATION = 2700L
|
||||
private const val TICK_DURATION = 50L
|
||||
|
||||
private val blacklist = mutableMapOf<UUID, Long>()
|
||||
|
||||
@@ -49,7 +49,7 @@ class Skill(
|
||||
)
|
||||
|
||||
private val xpGainMethods = config.getSubsections("xp-gain-methods").mapNotNull {
|
||||
Counters.compile(it, ViolationContext(plugin, "Skill $id"))
|
||||
Counters.compile(it, ViolationContext(plugin, "Skill $id xp-gain-methods"))
|
||||
}
|
||||
|
||||
private val xpFormula = config.getStringOrNull("xp-formula")
|
||||
|
||||
Reference in New Issue
Block a user