mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
[CSM] Add client-sided chat commands (#5092)
This commit is contained in:
@@ -1582,11 +1582,7 @@ void Client::typeChatMessage(const std::wstring &message)
|
||||
sendChatMessage(message);
|
||||
|
||||
// Show locally
|
||||
if (message[0] == L'/')
|
||||
{
|
||||
pushToChatQueue((std::wstring)L"issued command: " + message);
|
||||
}
|
||||
else
|
||||
if (message[0] != L'/')
|
||||
{
|
||||
// compatibility code
|
||||
if (m_proto_ver < 29) {
|
||||
|
Reference in New Issue
Block a user