From 6dee22fcfe3e1c57045f7b8b07b197dbca121a83 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Thu, 26 May 2022 22:21:17 +0800 Subject: + enable links from soopymc.my.to to be shown in patcher image preview --- features/bestiary/index.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'features/bestiary') diff --git a/features/bestiary/index.js b/features/bestiary/index.js index 3888ffb..de7d679 100644 --- a/features/bestiary/index.js +++ b/features/bestiary/index.js @@ -13,22 +13,14 @@ class Waypoints extends Feature { } onEnable() { - this.initVariables() - this.bestiaryData = JSON.parse(FileLib.read("soopyAddonsData", "bestiaryData.json") || "{}") this.bestiaryChanged = false } - initVariables() { - - } - onDisable() { if (this.bestiaryChanged) { FileLib.write("soopyAddonsData", "bestiaryData.json", JSON.stringify(this.bestiaryData)) } - - this.initVariables() } } -- cgit