mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 19:58:34 +01:00
make the plant boost effect drain more aura
This commit is contained in:
parent
d2414d22cf
commit
4a690010c4
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ public class PlantBoostEffect implements IDrainSpotEffect {
|
||||||
growable.grow(world, world.rand, plantPos, state);
|
growable.grow(world, world.rand, plantPos, state);
|
||||||
|
|
||||||
BlockPos closestSpot = AuraChunk.getHighestSpot(world, plantPos, 25, pos);
|
BlockPos closestSpot = AuraChunk.getHighestSpot(world, plantPos, 25, pos);
|
||||||
AuraChunk.getAuraChunk(world, closestSpot).drainAura(closestSpot, 25);
|
AuraChunk.getAuraChunk(world, closestSpot).drainAura(closestSpot, 100);
|
||||||
|
|
||||||
PacketHandler.sendToAllAround(world, plantPos, 32,
|
PacketHandler.sendToAllAround(world, plantPos, 32,
|
||||||
new PacketParticles(plantPos.getX(), plantPos.getY(), plantPos.getZ(), 6));
|
new PacketParticles(plantPos.getX(), plantPos.getY(), plantPos.getZ(), 6));
|
||||||
|
|
Loading…
Reference in a new issue