aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/command/JoinDungeonCommand.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/dulkirmod/command/JoinDungeonCommand.kt')
-rw-r--r--src/main/kotlin/dulkirmod/command/JoinDungeonCommand.kt6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/kotlin/dulkirmod/command/JoinDungeonCommand.kt b/src/main/kotlin/dulkirmod/command/JoinDungeonCommand.kt
index 46506a2..9765a47 100644
--- a/src/main/kotlin/dulkirmod/command/JoinDungeonCommand.kt
+++ b/src/main/kotlin/dulkirmod/command/JoinDungeonCommand.kt
@@ -1,11 +1,11 @@
package dulkirmod.command
+import dulkirmod.DulkirMod
import dulkirmod.DulkirMod.Companion.mc
import dulkirmod.config.Config
import net.minecraft.command.CommandException
import net.minecraft.command.ICommandSender
import net.minecraft.util.ChatComponentText
-import net.minecraft.util.EnumChatFormatting
class JoinDungeonCommand : ClientCommandBase("joindungeon") {
@Throws(CommandException::class)
@@ -29,9 +29,7 @@ class JoinDungeonCommand : ClientCommandBase("joindungeon") {
if(Config.dungeonCommandConfirm) {
mc.thePlayer.addChatMessage(
- ChatComponentText(
- EnumChatFormatting.GOLD.toString() + "" + EnumChatFormatting.BOLD + "Running command: $type$num"
- )
+ ChatComponentText("${DulkirMod.CHAT_PREFIX} ยง6Running command: $type$num")
)
}
mc.thePlayer.sendChatMessage("/joindungeon $arguments")