From 810a25eec4e6712acee145526d3017dd118b8492 Mon Sep 17 00:00:00 2001 From: Lulonaut Date: Fri, 6 Oct 2023 15:44:59 +0200 Subject: Remove legacy API keys from the code base (#862) Co-authored-by: nopo --- .../io/github/moulberry/notenoughupdates/NotEnoughUpdates.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java') 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); -- cgit