Skip to content

Commit a8153d5

Browse files
authored
Merge branch 'GenLite-Org:main' into main
2 parents a0e807d + 987dfd5 commit a8153d5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Client/plugins/genlite-drop-recorder.plugin.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ export class GenLiteDropRecorderPlugin extends GenLitePlugin {
7474
} else {
7575
this.dropTable = JSON.parse(dropTableString);
7676
}
77+
for(let key in this.dropTable){
78+
if(this.dropTable[key].location)
79+
delete (this.dropTable[key].location);
80+
}
7781
}
7882

7983
async postInit() {
@@ -652,15 +656,17 @@ export class GenLiteDropRecorderPlugin extends GenLitePlugin {
652656
this.dropTable[dropKey].Monster_Name = this.monsterData.Monster_Name;
653657
this.dropTable[dropKey].Monster_Level = this.monsterData.Monster_Level;
654658
this.dropTable[dropKey].Num_Killed = 0;
655-
this.dropTable[dropKey].location = [];
659+
//this.dropTable[dropKey].location = [];
656660
this.dropTable[dropKey].drops = {};
657661
}
658662
this.dropTable[dropKey].Num_Killed++;
663+
/*
659664
this.dropTable[dropKey].location.push({
660665
layer: this.monsterData.layer,
661666
x: this.monsterData.x,
662667
y: this.monsterData.y
663668
});
669+
*/
664670
for (let i in this.monsterData.Drops) {
665671
let drop = this.monsterData.Drops[i]
666672
if (this.dropTable[dropKey].drops[drop.Item_Code] === undefined)

0 commit comments

Comments
 (0)