Add option to not prepend "Server -!- " to messages sent with minetest.chat_send_player()
This commit is contained in:
committed by
Perttu Ahola
parent
9894167bbf
commit
3d4d0cb574
@@ -456,7 +456,7 @@ class Server : public con::PeerHandler, public MapEventReceiver,
|
||||
}
|
||||
|
||||
// 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,
|
||||
|
||||
Reference in New Issue
Block a user