Spider nest :)
This commit is contained in:
parent
9b5b1f635f
commit
115f9b58ab
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user