Fixed Spatial Pylon Initialization Bug.

This commit is contained in:
AlgorithmX2 2014-03-07 00:15:25 -06:00
parent a464686393
commit f918147b46
2 changed files with 3 additions and 4 deletions

View file

@ -18,8 +18,8 @@ import appeng.block.AEBaseBlock;
import appeng.client.render.BaseBlockRender;
import appeng.client.render.blocks.RenderBlockCharger;
import appeng.client.render.effects.LightningEffect;
import appeng.core.CommonHelper;
import appeng.core.AEConfig;
import appeng.core.CommonHelper;
import appeng.core.features.AEFeature;
import appeng.helpers.ICustomCollision;
import appeng.tile.AEBaseTile;
@ -36,8 +36,7 @@ public class BlockCharger extends AEBaseBlock implements ICustomCollision
setfeature( EnumSet.of( AEFeature.Core ) );
setTileEntiy( TileCharger.class );
setLightOpacity( 2 );
isFullSize = false;
isOpaque = false;
isFullSize = isOpaque = false;
}
@Override

View file

@ -91,7 +91,7 @@ public class SpatialPylonCache implements IGridCache, ISpatialCache
IReadOnlyCollection<IGridNode> set = grid.getMachines( TileSpatialPylon.class );
for (IGridNode gm : set)
{
if ( gm.isActive() )
if ( gm.meetsChannelRequirements() )
{
SpatialPylonCluster c = ((TileSpatialPylon) gm.getMachine()).getCluster();
if ( c != null )