Added WebChat back to web.

This commit is contained in:
FrozenCow 2011-02-19 16:31:13 +01:00
parent c53e6058be
commit 2bd0052aa9
3 changed files with 17 additions and 0 deletions

View file

@ -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, '!');