From f2c5a487c3bd4b7c259036e2d161349cb8388394 Mon Sep 17 00:00:00 2001 From: OrangeNote Date: Wed, 6 Feb 2019 18:07:17 +0100 Subject: [PATCH] lower summoner level for rune access --- package.json | 2 +- src/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 543a2d1..134e9db 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/app.js b/src/app.js index 438f9f1..531225c 100644 --- a/src/app.js +++ b/src/app.js @@ -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) => {