mirror of
https://github.com/rockyhawk64/CommandPanels.git
synced 2025-11-18 07:14:17 +01:00
Fixes to folia beta limits
This commit is contained in:
parent
12cd47642d
commit
999dd36daa
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>groupId</groupId>
|
||||
<artifactId>CommandPanels</artifactId>
|
||||
<version>FOLIA-BETA-V1.0.2</version>
|
||||
<version>SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
version: FOLIA-BETA-V1.0.2
|
||||
version: 3.22.5
|
||||
main: me.rockyhawk.commandpanels.CommandPanels
|
||||
name: CommandPanels
|
||||
author: RockyHawk
|
||||
|
||||
@ -48,14 +48,6 @@ public class VersionChecker {
|
||||
return false;
|
||||
}
|
||||
|
||||
// TODO Remove when merged into main. Also change POM and plugin.yml back to normal version numbers.
|
||||
if (currentVersion.contains("FOLIA-BETA")) {
|
||||
if (sendMessages) {
|
||||
Bukkit.getConsoleSender().sendMessage("[CommandPanels]" + ChatColor.GREEN + " Running a Folia beta version - update checks disabled.");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
boolean update = !updater.cachedLatestVersion.equals(currentVersion);
|
||||
|
||||
if (update && sendMessages) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user