mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 05:35:56 -04:00
Merge pull request #339 from deathcap/no-exclude
Remove client chat exclusion from server
This commit is contained in:
commit
783a96a44d
@ -40,7 +40,7 @@ server.on('login', function(client) {
|
|||||||
|
|
||||||
client.on('chat', function(data) {
|
client.on('chat', function(data) {
|
||||||
var message = '<' + client.username + '>' + ' ' + data.message;
|
var message = '<' + client.username + '>' + ' ' + data.message;
|
||||||
broadcast(message, client, client.username);
|
broadcast(message, null, client.username);
|
||||||
console.log(message);
|
console.log(message);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user