Tweaked Energy Flow Code for Network Acceptor, should be more what I'm looking for.

This commit is contained in:
AlgorithmX2
2014-06-07 19:23:31 -05:00
parent 9ae4ce54d1
commit 14aba981b2
5 changed files with 11 additions and 8 deletions
+2 -1
View File
@@ -19,6 +19,7 @@ public class BlockGrinder extends AEBaseBlock
super( BlockGrinder.class, Material.rock );
setfeature( EnumSet.of( AEFeature.GrindStone ) );
setTileEntiy( TileGrinder.class );
setHardness( 3.2F );
}
@Override
@@ -27,7 +28,7 @@ public class BlockGrinder extends AEBaseBlock
TileGrinder tg = getTileEntity( w, x, y, z );
if ( tg != null && !p.isSneaking() )
{
Platform.openGUI( p, tg, ForgeDirection.getOrientation(side),GuiBridge.GUI_GRINDER );
Platform.openGUI( p, tg, ForgeDirection.getOrientation( side ), GuiBridge.GUI_GRINDER );
return true;
}
return false;