1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package dulkirmod.config import cc.polyfrost.oneconfig.hud.TextHud import dulkirmod.features.chat.DungeonKeyDisplay class DulkirHud : 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") } }