Language Fixes

This commit is contained in:
2024-11-24 22:38:01 +01:00
parent d30fb5f949
commit 8bb2be52f2
4 changed files with 3 additions and 11 deletions
@@ -27,16 +27,11 @@ import de.steamwar.tntleague.command.RemoveCommand
import de.steamwar.tntleague.events.GlobalListener
import de.steamwar.tntleague.events.LobbyListener
import de.steamwar.tntleague.game.TNTLeagueTeam
import net.kyori.adventure.text.Component
import net.kyori.adventure.text.format.NamedTextColor
import org.bukkit.plugin.java.JavaPlugin
lateinit var plugin: TNTLeague
lateinit var message: Message
val tntLeaguePrefix = Component.text("TNT").color(NamedTextColor.DARK_RED)
.append(Component.text("League").color(NamedTextColor.GOLD))
class TNTLeague : JavaPlugin() {
init {
plugin = this
@@ -44,7 +39,6 @@ class TNTLeague : JavaPlugin() {
override fun onEnable() {
saveResource("config.yml", false)
saveDefaultConfig()
message = Message("de.steamwar.tntleague.TNTLeague", classLoader)