From 2fceb39f8c5be1193a31e230126b908aa0f4becd Mon Sep 17 00:00:00 2001 From: jameslfc19 Date: Sun, 2 Aug 2020 11:51:35 +0100 Subject: [PATCH] 2.3-Beta --- ChestsPlusPlus_Main/pom.xml | 2 +- .../jamesdpeters/minecraft/chests/ChestsPlusPlus.java | 9 +-------- .../src/main/resources/lang/en_GB.properties | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/ChestsPlusPlus_Main/pom.xml b/ChestsPlusPlus_Main/pom.xml index 72b907c..6cb292c 100644 --- a/ChestsPlusPlus_Main/pom.xml +++ b/ChestsPlusPlus_Main/pom.xml @@ -6,7 +6,7 @@ com.jamesdpeters.minecraft.chests ChestsPlusPlus-Master - 2.3-Dev + 2.3-Beta 8 diff --git a/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/ChestsPlusPlus.java b/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/ChestsPlusPlus.java index 5ecec88..6fae3e1 100644 --- a/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/ChestsPlusPlus.java +++ b/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/ChestsPlusPlus.java @@ -102,14 +102,7 @@ public class ChestsPlusPlus extends JavaPlugin { INVENTORY_MANAGER = new InventoryManager(this); INVENTORY_MANAGER.init(); - boolean isDev = BuildConstants.VERSION.contains("DEV"); - boolean isBeta = BuildConstants.VERSION.contains("BETA"); - if (isDev) - getLogger().warning("You are currently running a Dev build - update checker disabled! Build: " + BuildConstants.VERSION); - if (isBeta) - getLogger().warning("You are currently running a Beta build - update checker disabled! Build: " + BuildConstants.VERSION); - - if (PluginConfig.IS_UPDATE_CHECKER_ENABLED.get() && !isDev && !isBeta) { + if (PluginConfig.IS_UPDATE_CHECKER_ENABLED.get()) { String BUKKIT_URL = "https://dev.bukkit.org/projects/chests-plus-plus/files"; UpdateChecker.init(this, 71355, UpdateChecker.VERSION_SCHEME_DECIMAL); Bukkit.getScheduler().runTaskTimerAsynchronously(this, () -> { diff --git a/ChestsPlusPlus_Main/src/main/resources/lang/en_GB.properties b/ChestsPlusPlus_Main/src/main/resources/lang/en_GB.properties index f76f3ef..d18cc82 100644 --- a/ChestsPlusPlus_Main/src/main/resources/lang/en_GB.properties +++ b/ChestsPlusPlus_Main/src/main/resources/lang/en_GB.properties @@ -1,4 +1,4 @@ -# Chests++ Language File (Version 2.3-Dev)) +# Chests++ Language File (Version 2.3-Beta)) # NOTE: This file gets replaced when the plugin launches! If you want to make modifications create a copy first! # To create a new language file simply create a copy of this file and rename it to your desired choice for example 'en_US.properties' # It should be located in the 'lang' folder