Skip to content

Commit

Permalink
Use proper command to detect if biome is purchased.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Jan 23, 2022
1 parent 1349b70 commit b7fd417
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ else if (!this.islandData.isPurchased(biomesObject))
this.manager.saveIslandData(this.islandData);
this.build();
}
else if (!this.islandData.isPurchased(biomesObject))
else if (!this.manager.isPurchased(this.islandData, biomesObject))
{
this.islandData.purchaseBiome(biomesObject);
this.manager.saveIslandData(this.islandData);
Expand Down

0 comments on commit b7fd417

Please sign in to comment.