mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
This commit is contained in:
1 parent
25bfa6449d
commit
6db2d521ae
2 files changed
+7
-3
No files matched your search
@@ -108,6 +108,10 @@ public final class Utilities
|
||||
{
|
||||
return player.getLocation().getBlock().isLiquid() && player.getLocation().getBlock().getRelative(BlockFace.UP).isLiquid();
|
||||
}
|
||||
public static boolean isOnLadder(Player player)
|
||||
{
|
||||
return player.getLocation().getBlock().getType() == Material.VINE || player.getLocation().getBlock().getType() == Material.LADDER;
|
||||
}
|
||||
public static boolean isInt(String string)
|
||||
{
|
||||
boolean x = false;
|
||||
|
||||
Reference in new issue
Block a user