We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 697afc8 commit fa77785Copy full SHA for fa77785
src/client/scripts/index.js
@@ -134,8 +134,8 @@ class Game {
134
this.socket.on("msg", function (msg) {
135
_this.chat.log(msg);
136
});
137
- this.socket.on("kicked", function () {
138
- _this.chat.log("You have been kicked!");
+ this.socket.on("kicked", function (reason) {
+ _this.chat.log("You have been kicked! Reason: " + JSON.parse(reason).text);
139
140
this.socket.on("xp", function (xp) {
141
_this.inv_bar.setXp(xp.level, xp.progress);
0 commit comments