mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-04 14:38:47 +00:00
Hopefully this adds the build number to dev builds, if not I'll look like a fool.
This commit is contained in:
1 parent
584d09d4cd
commit
517a12f339
2 files changed
+5
-5
No files matched your search
@@ -30,9 +30,9 @@ import java.util.logging.Logger;
|
|||||||
import net.h31ix.anticheat.event.*;
|
import net.h31ix.anticheat.event.*;
|
||||||
import net.h31ix.anticheat.manage.AnticheatManager;
|
import net.h31ix.anticheat.manage.AnticheatManager;
|
||||||
import net.h31ix.anticheat.manage.CheckType;
|
import net.h31ix.anticheat.manage.CheckType;
|
||||||
import net.h31ix.anticheat.util.Utilities;
|
|
||||||
import net.h31ix.anticheat.metrics.Metrics;
|
import net.h31ix.anticheat.metrics.Metrics;
|
||||||
import net.h31ix.anticheat.metrics.Metrics.Graph;
|
import net.h31ix.anticheat.metrics.Metrics.Graph;
|
||||||
|
import net.h31ix.anticheat.util.Utilities;
|
||||||
import net.h31ix.anticheat.xray.XRayListener;
|
import net.h31ix.anticheat.xray.XRayListener;
|
||||||
import net.h31ix.anticheat.xray.XRayTracker;
|
import net.h31ix.anticheat.xray.XRayTracker;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
@@ -249,7 +249,7 @@ public class Anticheat extends JavaPlugin
|
|||||||
}
|
}
|
||||||
if (verbose)
|
if (verbose)
|
||||||
{
|
{
|
||||||
logger.log(Level.INFO,"[AC] AntiCheat update has been downloaded and will be installed on next launch.");
|
logger.log(Level.INFO,"AntiCheat update has been downloaded and will be installed on next launch.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -306,9 +306,9 @@ public class Anticheat extends JavaPlugin
|
|||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
if (!this.getDescription().getVersion().equalsIgnoreCase(v))
|
String version = this.getDescription().getVersion().split("-b")[0];
|
||||||
|
if (!version.equalsIgnoreCase(v))
|
||||||
{
|
{
|
||||||
String version = this.getDescription().getVersion();
|
|
||||||
if (version.endsWith("-PRE") || version.endsWith("-DEV"))
|
if (version.endsWith("-PRE") || version.endsWith("-DEV"))
|
||||||
{
|
{
|
||||||
if (version.replaceAll("-PRE", "").replaceAll("-DEV", "").equalsIgnoreCase(v))
|
if (version.replaceAll("-PRE", "").replaceAll("-DEV", "").equalsIgnoreCase(v))
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ name: AntiCheat
|
|||||||
softdepend: [AntiCheat]
|
softdepend: [AntiCheat]
|
||||||
startup: postworld
|
startup: postworld
|
||||||
url: http://H31IX.NET/
|
url: http://H31IX.NET/
|
||||||
version: '1.3-DEV'
|
version: ${project.version}-b${BUILD_NUMBER}
|
||||||
commands:
|
commands:
|
||||||
anticheat:
|
anticheat:
|
||||||
description: Control and view info about AntiCheat
|
description: Control and view info about AntiCheat
|
||||||
|
|||||||
Reference in new issue
Block a user