aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/huds/KeyHud.kt
blob: 597696ef2751a077b578617e8bb4cc36f3b7f960 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package dulkirmod.huds
import cc.polyfrost.oneconfig.hud.TextHud
import dulkirmod.features.chat.DungeonKeyDisplay


class KeyHud : TextHud(false) {

    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")
    }
}