aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/config/KeyHud.kt
blob: ca7b2e49aa4f465d11dc0f8419a0b863c3bbbaab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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")
    }
}