Fix player faces when aliases being used, and strip color from player

display names sent to web UI
This commit is contained in:
Mike Primm 2011-05-23 03:21:15 +08:00 committed by mikeprimm
parent 2866eaa905
commit fe25cb6a0f
2 changed files with 3 additions and 2 deletions

View file

@ -15,7 +15,7 @@ componentconstructors['playermarkers'] = function(dynmap, configuration) {
.text(player.name));
if (configuration.showplayerfaces) {
getMinecraftHead(player.name, 32, function(head) {
getMinecraftHead(player.account, 32, function(head) {
$(head)
.addClass('playericon')
.prependTo(div);