this looks less jarring

This commit is contained in:
yrsegal@gmail.com 2022-04-23 16:46:56 -04:00
parent d6287187be
commit 4089784fcc

View file

@ -155,7 +155,7 @@ public class RegisterClientStuff {
int comparatorValue = ScryingLensOverlayRegistry.getComparatorValue(true);
lines.add(new Pair<>(
new ItemStack(Items.REDSTONE),
new TextComponent(comparatorValue == -1 ? "?" : String.valueOf(comparatorValue))
new TextComponent(comparatorValue == -1 ? "" : String.valueOf(comparatorValue))
.withStyle(ChatFormatting.RED)));
lines.add(new Pair<>(
new ItemStack(Items.REDSTONE_TORCH),
@ -183,7 +183,7 @@ public class RegisterClientStuff {
lines.add(
new Pair<>(
new ItemStack(Items.COMPARATOR),
new TextComponent(comparatorValue == -1 ? "?" : String.valueOf(comparatorValue))
new TextComponent(comparatorValue == -1 ? "" : String.valueOf(comparatorValue))
.withStyle(ChatFormatting.RED)));
});
}