Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

Commit

Permalink
Fix some small bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Mar 12, 2023
1 parent 0a365ef commit 7b235b7
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public static void handleInscriptionTooltip(EmbedBuilder builder, ItemStack item
{
String roomStr = entry.count > 1 ? "Rooms" : "Room";

builder.appendDescription(" ").
builder.appendDescription(" \u2022 ").
appendDescription(String.valueOf(entry.count)).
appendDescription(" ").
appendDescription(entry.toRoomEntry().has(ArchitectRoomEntry.TYPE) ?
Expand All @@ -401,12 +401,12 @@ public static void handleVaultCrystalTooltip(EmbedBuilder builder, CrystalData c
builder.appendDescription("\n");

// Vault Theme
builder.appendDescription("**Theme:**").
builder.appendDescription("**Theme:** ").
appendDescription(parseThemeName(crystalData.getTheme()));
builder.appendDescription("\n");

// Vault Layout
builder.appendDescription("**Layout:**").
builder.appendDescription("**Layout:** ").
appendDescription(parseLayoutName(crystalData.getLayout()));
builder.appendDescription("\n");

Expand Down Expand Up @@ -883,9 +883,9 @@ else if (time instanceof ValueCrystalTime vaultTime)
{
int min = IntRoll.getMin(vaultTime.getRoll());
int max = IntRoll.getMax(vaultTime.getRoll());
String text = UIHelper.formatTimeString(min);
String text = formatTimeString(min);
if (min != max) {
text = text + " - " + UIHelper.formatTimeString(max);
text = text + " - " + formatTimeString(max);
}

return "**Time:** " + text;
Expand Down

0 comments on commit 7b235b7

Please sign in to comment.