Fixed spiders climbing liquids

This commit is contained in:
libraryaddict 2015-02-05 22:34:06 +13:00
parent ea30645d42
commit 6f8d39b630
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public class PerkSpiderLeap extends Perk
for (Block block : UtilBlock.getSurrounding(player.getLocation().getBlock(), true))
{
if (!UtilBlock.airFoliage(block))
if (!UtilBlock.airFoliage(block) && !block.isLiquid())
{
player.setVelocity(new Vector(0,0.2,0));