mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Fix for vclip glitch when falling into water
This commit is contained in:
1 parent
79a88c9de2
commit
30ac883120
1 file changed
+1
-1
@@ -524,7 +524,7 @@ public class Backend
|
||||
for (int i = 0; i < (Math.round(distance.getYDifference())) + 1; i++)
|
||||
{
|
||||
Location l = new Location(player.getWorld(), player.getLocation().getX(), to + i, player.getLocation().getZ());
|
||||
if (l.getBlock().getTypeId() != 0)
|
||||
if (l.getBlock().getTypeId() != 0 && !l.getBlock().isLiquid())
|
||||
{
|
||||
bs = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user