Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Commit

Permalink
lower summoner level for rune access
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeNote committed Feb 6, 2019
1 parent 91d84df commit f2c5a48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "RuneBook",
"productName": "RuneBook",
"version": "1.8.5",
"version": "1.8.6",
"description": "An automatic rune pages manager for League of Legends",
"main": "./src/main.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ freezer.on('page:upload', (champion, page) => {
page_data.current = true;

console.log("page.id, page.isEditable", state.connection.page.id, state.connection.page.isEditable);
if(state.connection.page.id && state.connection.page.isEditable && state.connection.summonerLevel >= 15) {
if(state.connection.page.id && state.connection.page.isEditable && state.connection.summonerLevel >= 10) {
freezer.off('/lol-perks/v1/currentpage:Update');
freezer.get().lastuploadedpage.set({ champion, page, loading: true });
api.del("/lol-perks/v1/pages/" + freezer.get().connection.page.id).then((res) => {
Expand Down

0 comments on commit f2c5a48

Please sign in to comment.