From fb8cad6584a9f6fa11b91709dfb19cc354100d0c Mon Sep 17 00:00:00 2001 From: SBDeveloper Date: Thu, 1 Sep 2022 20:33:49 +0200 Subject: [PATCH] Removed old code --- .../nl/sbdeveloper/themeparkplus/ThemeParkPlus.java | 10 ---------- src/main/resources/config.yml | 1 - 2 files changed, 11 deletions(-) diff --git a/src/main/java/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java b/src/main/java/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java index 0fe3a3a..a4e1581 100644 --- a/src/main/java/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java +++ b/src/main/java/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java @@ -70,16 +70,6 @@ public final class ThemeParkPlus extends JavaPlugin { updateConfig(); } - Bukkit.getLogger().info("[ThemeParkPlus] Checking license..."); - - final String license = config.getFile().getString("License"); - if (config.getFile().contains("License")) { - Bukkit.getLogger().info("[ThemeParkPlus] Licence code: " + license); - } else { - Bukkit.getLogger().severe("[ThemeParkPlus] Licence code unknown! Please change the config.yml!"); - return; - } - getLogger().info("This copy is bought by %%__USERNAME__%% (%%__USER__%%)."); getLogger().info("Validating your purchase..."); Verify v = new Verify(this); diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index ec7f48f..235c982 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -1,4 +1,3 @@ -License: '' AntiFreerun: Enabled: false UpdateChecker: