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:
ATXLtheAxolotl 2022-04-30 19:18:00 -04:00 committed by GitHub
commit fbe7ff79e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,6 +152,7 @@ class Player extends Connection {
}
}
this.emit(des.data.name, des.data.params)
this.emit('packet', des)
}
}