Spider nest :)

This commit is contained in:
Chiss 2015-01-30 17:02:28 +11:00
parent 9b5b1f635f
commit 115f9b58ab

View File

@ -40,8 +40,13 @@ public class PerkSpidersNest extends SmashPerk
if (!UtilBlock.airFoliage(block))
continue;
if (block.getY() < player.getLocation().getY() + 10)
Manager.GetBlockRestore().Add(block, 30, (byte)0, (long) (30000 + 5000 * Math.random()));
if (block.getY() > player.getLocation().getY() + 10)
continue;
if (block.getY() < player.getLocation().getY() - 10)
continue;
Manager.GetBlockRestore().Add(block, 30, (byte)0, (long) (30000 + 5000 * Math.random()));
}
//Regen