9
0
mirror of https://github.com/Auxilor/EcoSkills.git synced 2026-01-06 15:51:52 +00:00

Updated dependencies and eco

This commit is contained in:
Auxilor
2021-11-02 09:03:43 +00:00
parent 52bd88d060
commit 30167adecd
3 changed files with 5 additions and 8 deletions

View File

@@ -4,9 +4,9 @@ import com.willfp.eco.core.EcoPlugin
import com.willfp.eco.core.command.CommandHandler
import com.willfp.eco.core.command.TabCompleteHandler
import com.willfp.eco.core.command.impl.Subcommand
import com.willfp.eco.util.PlayerUtils
import com.willfp.eco.util.StringUtils
import com.willfp.ecoskills.data.LeaderboardHandler
import com.willfp.ecoskills.data.savedDisplayName
import com.willfp.ecoskills.getSkillLevel
import com.willfp.ecoskills.skills.Skills
import org.bukkit.command.CommandSender
@@ -52,7 +52,7 @@ class CommandRank(plugin: EcoPlugin) :
var name = player.name!!
if (useDisplayName) {
name = player.savedDisplayName
name = PlayerUtils.getSavedDisplayName(player)
}
line = line.replace("%playername%", name)

View File

@@ -4,9 +4,9 @@ import com.willfp.eco.core.EcoPlugin
import com.willfp.eco.core.command.CommandHandler
import com.willfp.eco.core.command.TabCompleteHandler
import com.willfp.eco.core.command.impl.Subcommand
import com.willfp.eco.util.PlayerUtils
import com.willfp.eco.util.StringUtils
import com.willfp.ecoskills.data.LeaderboardHandler
import com.willfp.ecoskills.data.savedDisplayName
import com.willfp.ecoskills.getTotalSkillLevel
import org.bukkit.command.CommandSender
import org.bukkit.util.StringUtil
@@ -37,7 +37,7 @@ class CommandTop(plugin: EcoPlugin) :
var name = player.name!!
if (useDisplayName) {
name = player.savedDisplayName
name = PlayerUtils.getSavedDisplayName(player)
}
line = line.replace("%playername%", name)

View File

@@ -9,10 +9,7 @@ depend:
- eco
- PlaceholderAPI
softdepend:
- HolographicDisplays
- Essentials
- GHolo
- CMI
- EcoEnchants
libraries:
- 'org.jetbrains.kotlin:kotlin-stdlib:1.5.21'
- 'org.jetbrains.exposed:exposed-core:0.34.1'