Tossed in a tiny null check.
This commit is contained in:
parent
4883dfb78c
commit
130f381eb3
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ public class BlockQuartzGrowthAccelerator extends AEBaseBlock implements IOrient
|
|||
|
||||
TileQuartzGrowthAccelerator tqga = getTileEntity( w, x, y, z );
|
||||
|
||||
if ( tqga.hasPower && CommonHelper.proxy.shouldAddParticles( r ) )
|
||||
if ( tqga != null && tqga.hasPower && CommonHelper.proxy.shouldAddParticles( r ) )
|
||||
{
|
||||
double d0 = (double) (r.nextFloat() - 0.5F);
|
||||
double d1 = (double) (r.nextFloat() - 0.5F);
|
||||
|
|
Loading…
Reference in a new issue