title instead chat (part 2)
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user