File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments