Don't consider players walking on slabs/steps flying.

This commit is contained in:
Adam committed 2012-04-28 12:04:28 -04:00
1 parent 244a2c1c7c
commit 0cbd2c4bd4
1 file changed
+4
@@ -338,6 +338,10 @@ public class PlayerListener implements Listener {
public boolean canStand(Block block)
{
if(block.getRelative(BlockFace.UP).getType() == Material.STEP)
{
return true;
}
if(block.isLiquid())
{
return false;