From 130f381eb30aa0d9bf7042de862d4da4b7f31e74 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Tue, 12 Aug 2014 13:43:01 -0500 Subject: [PATCH] Tossed in a tiny null check. --- block/misc/BlockQuartzGrowthAccelerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/misc/BlockQuartzGrowthAccelerator.java b/block/misc/BlockQuartzGrowthAccelerator.java index f65e4ca8..3bd4f3c9 100644 --- a/block/misc/BlockQuartzGrowthAccelerator.java +++ b/block/misc/BlockQuartzGrowthAccelerator.java @@ -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);