mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-12-02 03:56:54 -05:00
use es6 properties in server.js
This commit is contained in:
parent
68c589a3b0
commit
5aee0000e4
1 changed files with 5 additions and 5 deletions
|
@ -5,13 +5,13 @@ var states = require('./transforms/serializer').states;
|
|||
|
||||
class Server extends EventEmitter
|
||||
{
|
||||
socketServer=null;
|
||||
cipher=null;
|
||||
decipher=null;
|
||||
clients={};
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
this.socketServer = null;
|
||||
this.cipher = null;
|
||||
this.decipher = null;
|
||||
this.clients = {};
|
||||
}
|
||||
|
||||
listen(port, host) {
|
||||
|
|
Loading…
Reference in a new issue