1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add option to not prepend "Server -!- " to messages sent with minetest.chat_send_player()

This commit is contained in:
ShadowNinja 2013-03-29 23:28:13 -04:00 committed by Perttu Ahola
parent 9894167bbf
commit 3d4d0cb574
5 changed files with 14 additions and 7 deletions

View file

@ -456,7 +456,7 @@ public:
}
// Envlock and conlock should be locked when calling this
void notifyPlayer(const char *name, const std::wstring msg);
void notifyPlayer(const char *name, const std::wstring msg, const bool prepend);
void notifyPlayers(const std::wstring msg);
void spawnParticle(const char *playername,
v3f pos, v3f velocity, v3f acceleration,