mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Fixed Elytra issues for 1_9_R1, still not able to find .isGliding() in
R2?
This commit is contained in:
1 parent
fcc75800d2
commit
6fa3f4c8df
3 files changed
+29
-2
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package net.gravitydevelopment.anticheat.util;
|
||||
|
||||
import org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import net.minecraft.server.v1_9_R1.EntityPlayer;
|
||||
|
||||
public class ElytraUtil_R1 {
|
||||
|
||||
public static boolean isGliding(Player p) {
|
||||
EntityPlayer player = ((CraftPlayer)p).getHandle();
|
||||
return player.cB();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user