From 253c889b90a6cc4a5481d1c77a47d0b2387577f5 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Mon, 22 Apr 2024 23:14:26 -0400 Subject: [PATCH] ignore default license --- API/src/main/java/me/braydon/mc/service/MaxMindService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API/src/main/java/me/braydon/mc/service/MaxMindService.java b/API/src/main/java/me/braydon/mc/service/MaxMindService.java index 98d1e5e..604ebd5 100644 --- a/API/src/main/java/me/braydon/mc/service/MaxMindService.java +++ b/API/src/main/java/me/braydon/mc/service/MaxMindService.java @@ -72,7 +72,7 @@ public final class MaxMindService { @PostConstruct public void onInitialize() { // Load the databases - if (EnvironmentUtils.isProduction()) { + if (!license.equals("CHANGE_ME")) { loadDatabases(); } }