Skip to content

Commit

Permalink
Added floor to 300 score message
Browse files Browse the repository at this point in the history
  • Loading branch information
odtheking committed Nov 29, 2024
1 parent c37f03a commit 5170dfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ object MapInfo : Module(
execute(250) {
if (!DungeonUtils.inDungeons || shownTitle || (!scoreTitle && !printWhenScore) || DungeonUtils.score < 300) return@execute
if (scoreTitle) PlayerUtils.alert(scoreText.replace("&", "§"))
if (printWhenScore) modMessage("§b${DungeonUtils.score} §ascore reached in §6${DungeonUtils.dungeonTime}.")
if (printWhenScore) modMessage("§b${DungeonUtils.score} §ascore reached in §6${DungeonUtils.dungeonTime} || ${DungeonUtils.floor.name}.")
shownTitle = true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import net.minecraft.network.play.client.C08PacketPlayerBlockPlacement
import net.minecraft.util.Vec3

object KingRelics {
var currentRelic = Relic.None
private var currentRelic = Relic.None

enum class Relic (
val id: String,
Expand Down

0 comments on commit 5170dfe

Please sign in to comment.