Added WebChat back to web.
This commit is contained in:
parent
c53e6058be
commit
2bd0052aa9
3 changed files with 17 additions and 0 deletions
|
|
@ -296,6 +296,11 @@ DynMap.prototype = {
|
|||
if (!me.options.showchat)
|
||||
return;
|
||||
me.onPlayerChat(update.playerName, update.message);
|
||||
},
|
||||
webchat: function() {
|
||||
if (!me.options.showchat)
|
||||
return;
|
||||
me.onPlayerChat('[WEB] ' + update.playerName, update.message);
|
||||
}
|
||||
}, function(type) {
|
||||
console.log('Unknown type ', value, '!');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue