mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Added 1.12.x compatibility, not tested yet (#90)
This commit is contained in:
1 parent
a84b573fa8
commit
1428b55591
3 files changed
+9
-5
No files matched your search
@@ -36,7 +36,7 @@ import com.rammelkast.anticheatreloaded.AntiCheatReloaded;
|
||||
public class VersionUtil {
|
||||
|
||||
private static final List<String> SUPPORTED_VERSIONS = Arrays
|
||||
.asList(new String[] { "v1_16", "v1_15", "v1_14", "v1_13", "v1_8_R3" });
|
||||
.asList(new String[] { "v1_16", "v1_15", "v1_14", "v1_13", "v1_12", "v1_8_R3" });
|
||||
|
||||
public static String getVersion() {
|
||||
return Bukkit.getServer().getClass().getPackage().getName().replace(".", ",").split(",")[3];
|
||||
|
||||
Reference in new issue
Block a user