Puts everywhere brackets

This commit is contained in:
thatsIch
2015-04-29 02:30:53 +02:00
parent 23aa8fd72d
commit 64ed05a1b4
465 changed files with 6726 additions and 14 deletions
@@ -52,7 +52,9 @@ public class MetaRotation implements IOrientable
public ForgeDirection getForward()
{
if( this.getUp().offsetY == 0 )
{
return ForgeDirection.UP;
}
return ForgeDirection.SOUTH;
}
@@ -66,8 +68,12 @@ public class MetaRotation implements IOrientable
public void setOrientation( ForgeDirection Forward, ForgeDirection Up )
{
if( this.w instanceof World )
{
( (World) this.w ).setBlockMetadataWithNotify( this.x, this.y, this.z, Up.ordinal(), 1 + 2 );
}
else
{
throw new IllegalStateException( this.w.getClass().getName() + " received, expected World" );
}
}
}