forked from SteamWar/SteamWar
Remove Component Messages
This commit is contained in:
@@ -21,7 +21,7 @@ package de.steamwar.tntleague.config
|
||||
|
||||
import de.steamwar.tntleague.plugin
|
||||
import de.steamwar.kotlin.util.Area
|
||||
import de.steamwar.kotlin.message.translate
|
||||
import net.kyori.adventure.text.Component
|
||||
import org.bukkit.Location
|
||||
import org.bukkit.Material
|
||||
import org.bukkit.configuration.ConfigurationSection
|
||||
@@ -80,7 +80,7 @@ object TNTLeagueWorldConfig {
|
||||
|
||||
private fun spawnDealer(loc: Location) = world.spawn(loc, WanderingTrader::class.java)
|
||||
.apply {
|
||||
customName(translate("dealer"))
|
||||
customName(Component.text("Shop"))
|
||||
isCustomNameVisible = false
|
||||
isInvulnerable = true
|
||||
isSilent = true
|
||||
|
||||
Reference in New Issue
Block a user