Started working on KillAura check

This commit is contained in:
Rammelkast committed 2016-05-29 13:09:49 +02:00
1 parent 804b5ea944
commit e37a6b8764
9 files changed
+146 -6

No files matched your search

@@ -0,0 +1,15 @@
package net.gravitydevelopment.anticheat.util;
import org.bukkit.Bukkit;
public class VersionUtil {
public static String getVersion() {
String version = "";
try {
version = Bukkit.getServer().getClass().getPackage().getName().replace(".", ",").split(",")[3];
} catch (ArrayIndexOutOfBoundsException whatVersionAreYouUsingException) {}
return version;
}
}