Skip to content

Commit

Permalink
Perks: remove useless logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryzzzen committed Oct 14, 2018
1 parent 0fd0146 commit 7fc5297
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions objects/riot/leagueoflegends/inventories/Perks.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ class PerksInventory {
if (Mana.user.getSummonerLevel() < 8) throw UI.error('runes-error-safeguard-level');
console.log(2, `[Perks] Loading`);

const perks = console.dir(3, await this.getPerks());
let count = await this.getCount();
let perks = await this.getPerks(), count = await this.getCount();

if (!pages || pages.length === 0 || pages.find(x => x.selectedPerkIds.length === 0) !== undefined) throw Error('Runes are empty');

Expand Down

0 comments on commit 7fc5297

Please sign in to comment.