cleaner text handling

This commit is contained in:
Ryan Bakkes 2023-11-12 22:11:08 +01:00
parent a26bc010b6
commit 26f09e7d50

View File

@ -66,7 +66,10 @@ def exploreBlocks(self):
return
case "1":
utilityHelper.clearScreen()
print(f"This block is {blocks[user_input].is_valid()}")
if blocks[user_input].is_valid():
print(f"{utilityHelper.successMessage('This block is valid')}")
else:
print(f"{utilityHelper.warningMessage('This block is invalid')}")
case "2":
utilityHelper.clearScreen()
x = 0