Fixed Spatial Pylon Initialization Bug.
This commit is contained in:
parent
a464686393
commit
f918147b46
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
2
me/cache/SpatialPylonCache.java
vendored
2
me/cache/SpatialPylonCache.java
vendored
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue