missed typo in example code
This commit is contained in:
parent
bbe3866c96
commit
57e74de47e
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ for (var i =0;i < colors.length;i++)
|
||||||
|
|
||||||
events.asyncPlayerChat( function( evt ) {
|
events.asyncPlayerChat( function( evt ) {
|
||||||
var player = evt.player;
|
var player = evt.player;
|
||||||
var playerChatColor = _store.players[ player.name ];
|
var playerChatColor = store.players[ player.name ];
|
||||||
if ( playerChatColor ) {
|
if ( playerChatColor ) {
|
||||||
evt.message = '§' + colorCodes[ playerChatColor ] + evt.message;
|
evt.message = '§' + colorCodes[ playerChatColor ] + evt.message;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue