Add more undefined checks

This commit is contained in:
abalabahaha
2016-09-27 15:36:15 +09:00
parent ba0c8c45fc
commit d22ca969db
4 changed files with 2 additions and 6 deletions

View File

@@ -2216,8 +2216,6 @@ var InternalClient = (function () {
}
} else if (!server) {
client.emit("warn", "server was updated but it was not in the cache");
this.servers.add(new _StructuresServer2["default"](data, client));
client.emit("serverCreated", server);
}
break;
case _Constants.PacketType.CHANNEL_CREATE: