title instead chat (part 2)

This commit is contained in:
Freeman
2023-01-04 21:36:26 +01:00
parent 5fe12e55ab
commit 3070c3f0ca
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -53,10 +53,10 @@ core.register_chatcommand("pay", {
pitch = 1.0,
})
else
core.chat_send_player(name, S("Not enough Emeralds in your account") )
mcl_title.set(player1, "subtitle", {text=S("Not enough Emeralds in your account"), color="dark_red"})
end
else
core.chat_send_player(name, S("Invalid pay") )
mcl_title.set(player1, "subtitle", {text=S("Invalid pay"), color="dark_red"})
end
return true
end