This commit is contained in:
RobinLinus 2020-12-16 04:16:53 +01:00
parent 612d8cf1ea
commit 85dedf03ce
4 changed files with 6 additions and 5 deletions

View file

@ -41,8 +41,8 @@ class ServerConnection {
case 'ping':
this.send({ type: 'pong' });
break;
case 'displayName':
Events.fire('displayName', msg);
case 'display-name':
Events.fire('display-name', msg);
break;
default:
console.error('WS: unkown message type', msg);