diff options
Diffstat (limited to 'src/main/kotlin/dulkirmod/config/KeyHud.kt')
-rw-r--r-- | src/main/kotlin/dulkirmod/config/KeyHud.kt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/kotlin/dulkirmod/config/KeyHud.kt b/src/main/kotlin/dulkirmod/config/KeyHud.kt new file mode 100644 index 0000000..ca7b2e4 --- /dev/null +++ b/src/main/kotlin/dulkirmod/config/KeyHud.kt @@ -0,0 +1,16 @@ +package dulkirmod.config +import cc.polyfrost.oneconfig.hud.TextHud +import dulkirmod.features.chat.DungeonKeyDisplay + + +class KeyHud : TextHud(true) { + + override fun getLines(lines: MutableList<String>?, example: Boolean) { + if (example) { + lines?.add(0, "Wither Key Display") + return + } + if (DungeonKeyDisplay.hasKey) + lines?.add(0, "Key Obtained") + } +}
\ No newline at end of file |