mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 19:58:34 +01:00
parent
fb86501fcc
commit
e3d6b488bb
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ public class BlockProjectileGenerator extends BlockContainerImpl implements ITES
|
||||||
if (generator.nextSide != ray.sideHit)
|
if (generator.nextSide != ray.sideHit)
|
||||||
return;
|
return;
|
||||||
ResourceLocation name = EntityList.getKey(entity);
|
ResourceLocation name = EntityList.getKey(entity);
|
||||||
int amount = NaturesAuraAPI.PROJECTILE_GENERATIONS.get(name);
|
Integer amount = NaturesAuraAPI.PROJECTILE_GENERATIONS.get(name);
|
||||||
if (amount <= 0)
|
if (amount == null || amount <= 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
BlockPos spot = IAuraChunk.getLowestSpot(entity.world, pos, 35, pos);
|
BlockPos spot = IAuraChunk.getLowestSpot(entity.world, pos, 35, pos);
|
||||||
|
|
Loading…
Reference in a new issue