Puts everywhere brackets
This commit is contained in:
@@ -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" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user