Fix for vclip glitch when falling into water

This commit is contained in:
Adam committed 2012-07-13 23:30:21 -04:00
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;
}