aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/Huds/KeyHud.kt
blob: 5b0c1df08e3e594f98a1992ce239b4a66283808d (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(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")
    }
}