mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-22 14:59:22 +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)
|
||||
return;
|
||||
ResourceLocation name = EntityList.getKey(entity);
|
||||
int amount = NaturesAuraAPI.PROJECTILE_GENERATIONS.get(name);
|
||||
if (amount <= 0)
|
||||
Integer amount = NaturesAuraAPI.PROJECTILE_GENERATIONS.get(name);
|
||||
if (amount == null || amount <= 0)
|
||||
return;
|
||||
|
||||
BlockPos spot = IAuraChunk.getLowestSpot(entity.world, pos, 35, pos);
|
||||
|
|
Loading…
Reference in a new issue