Basic reformat, hit once, hope never again

This commit is contained in:
thatsIch
2015-04-03 08:54:31 +02:00
parent 4ff1631f89
commit d34c988c88
886 changed files with 31400 additions and 30990 deletions
@@ -18,11 +18,13 @@
package appeng.tile.misc;
import appeng.tile.AEBaseTile;
import appeng.tile.TileEvent;
import appeng.tile.events.TileEventType;
import appeng.util.Platform;
public class TileLightDetector extends AEBaseTile
{
@@ -34,11 +36,11 @@ public class TileLightDetector extends AEBaseTile
return this.lastLight > 0;
}
@TileEvent(TileEventType.TICK)
@TileEvent( TileEventType.TICK )
public void Tick_TileLightDetector()
{
this.lastCheck++;
if ( this.lastCheck > 30 )
if( this.lastCheck > 30 )
{
this.lastCheck = 0;
this.updateLight();
@@ -49,7 +51,7 @@ public class TileLightDetector extends AEBaseTile
{
int val = this.worldObj.getBlockLightValue( this.xCoord, this.yCoord, this.zCoord );
if ( this.lastLight != val )
if( this.lastLight != val )
{
this.lastLight = val;
Platform.notifyBlocksOfNeighbors( this.worldObj, this.xCoord, this.yCoord, this.zCoord );
@@ -61,5 +63,4 @@ public class TileLightDetector extends AEBaseTile
{
return false;
}
}