mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Fixed swimming under blocks and breaking blocks issue in creative
This commit is contained in:
1 parent
46f4acd280
commit
51679148fe
3 files changed
+12
-10
No files matched your search
@@ -105,6 +105,10 @@ public final class Utilities
|
||||
}
|
||||
return b;
|
||||
}
|
||||
public static boolean isSubmersed(Player player)
|
||||
{
|
||||
return player.getLocation().getBlock().isLiquid() && player.getLocation().getBlock().getRelative(BlockFace.UP).isLiquid();
|
||||
}
|
||||
public static boolean isInt(String string)
|
||||
{
|
||||
boolean x = false;
|
||||
|
||||
Reference in new issue
Block a user