aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/command
diff options
context:
space:
mode:
authoringle <inglettronald@gmail.com>2022-10-15 11:18:19 -0500
committeringle <inglettronald@gmail.com>2022-10-15 11:18:19 -0500
commitd2eb0ada9182f9cd507cd32b74cb72f62355acaa (patch)
tree5f9378e9f066f62b777bc7e8c308f7c9ac1f9b7c /src/main/kotlin/dulkirmod/command
parentbb0a6799a67e3bed3f78948b2dc5711c668e1c4f (diff)
downloadDulkirMod-d2eb0ada9182f9cd507cd32b74cb72f62355acaa.tar.gz
DulkirMod-d2eb0ada9182f9cd507cd32b74cb72f62355acaa.tar.bz2
DulkirMod-d2eb0ada9182f9cd507cd32b74cb72f62355acaa.zip
+ moar bestiary stuff and added WorldRenderUtils
Diffstat (limited to 'src/main/kotlin/dulkirmod/command')
-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")