mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Plugin should now work on 1.7.10, started on Glide v2
This commit is contained in:
1 parent
c229252f7a
commit
db821e4809
2 files changed
+46
-37
No files matched your search
@@ -10,10 +10,10 @@ public class VersionUtil {
|
||||
}
|
||||
|
||||
public static boolean isFlying(Player p) {
|
||||
if (getVersion().equals("v1_8_R3")) {
|
||||
return p.isFlying();
|
||||
}else {
|
||||
if (getVersion().equals("v1_9_R1") || getVersion().equals("v1_10_R1") || getVersion().equals("v1_11_R1")) {
|
||||
return p.isFlying() || p.isGliding();
|
||||
} else {
|
||||
return p.isFlying();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user