diff options
Diffstat (limited to 'src/main/kotlin/dulkirmod/Huds/KeyHud.kt')
-rw-r--r-- | src/main/kotlin/dulkirmod/Huds/KeyHud.kt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/kotlin/dulkirmod/Huds/KeyHud.kt b/src/main/kotlin/dulkirmod/Huds/KeyHud.kt new file mode 100644 index 0000000..5b0c1df --- /dev/null +++ b/src/main/kotlin/dulkirmod/Huds/KeyHud.kt @@ -0,0 +1,16 @@ +package dulkirmod.Huds +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 |