This commit is contained in:
jameslfc19 2020-08-02 11:51:35 +01:00
parent f03b096d72
commit 2fceb39f8c
3 changed files with 3 additions and 10 deletions

View File

@ -6,7 +6,7 @@
<groupId>com.jamesdpeters.minecraft.chests</groupId>
<artifactId>ChestsPlusPlus-Master</artifactId>
<version>2.3-Dev</version>
<version>2.3-Beta</version>
<properties>
<maven.compiler.source>8</maven.compiler.source>

View File

@ -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, () -> {

View File

@ -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