Emit generic 'packet' event for server clients (#205)
* Send out an all event on ServerPlayer For debugging purposes * Add a space for linter * Changed to be similar to Client's all * A space :| * Update serverPlayer.js
This commit is contained in:
parent
52156a0024
commit
fbe7ff79e8
1 changed files with 1 additions and 0 deletions
|
|
@ -152,6 +152,7 @@ class Player extends Connection {
|
|||
}
|
||||
}
|
||||
this.emit(des.data.name, des.data.params)
|
||||
this.emit('packet', des)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue