aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
diff options
context:
space:
mode:
authorLulonaut <lulonaut@lulonaut.tech>2023-10-06 15:44:59 +0200
committerGitHub <noreply@github.com>2023-10-06 15:44:59 +0200
commit810a25eec4e6712acee145526d3017dd118b8492 (patch)
tree9dadcb47bb4d51d5329e48b40899458b104f1de1 /src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
parentebdc4df69093d29c3334537f9267374773464a30 (diff)
downloadnotenoughupdates-810a25eec4e6712acee145526d3017dd118b8492.tar.gz
notenoughupdates-810a25eec4e6712acee145526d3017dd118b8492.tar.bz2
notenoughupdates-810a25eec4e6712acee145526d3017dd118b8492.zip
Remove legacy API keys from the code base (#862)
Co-authored-by: nopo <nopotheemail@gmail.com>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java b/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
index f81331ea..268fddd5 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2022 NotEnoughUpdates contributors
+ * Copyright (C) 2022-2023 NotEnoughUpdates contributors
*
* This file is part of NotEnoughUpdates.
*
@@ -228,11 +228,6 @@ public class NotEnoughUpdates {
config = new NEUConfig();
saveConfig();
} else {
- if (config.apiKey != null && config.apiKey.apiKey != null) {
- config.apiData.apiKey = config.apiKey.apiKey;
- config.apiKey = null;
- }
-
//add the trophy fishing tab to the config
if (config.profileViewer.pageLayout.size() == 8) {
config.profileViewer.pageLayout.add(8);