mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
Rebuild lib after @enebe-nb's changes
This commit is contained in:
@@ -77,7 +77,11 @@ var Cache = (function (_Array) {
|
||||
|
||||
if (item) {
|
||||
var index = this.indexOf(item);
|
||||
Object.assign(this[index], data);
|
||||
for (var dataIndex in data) {
|
||||
if (data.hasOwnProperty(dataIndex)) {
|
||||
this[index][dataIndex] = data[dataIndex];
|
||||
}
|
||||
}
|
||||
this[discrimCacheS][data[this[discrimS]]] = this[index];
|
||||
return this[index];
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user