Format sourcecode

This commit is contained in:
yueh
2017-07-20 21:17:10 +02:00
parent 66437897be
commit 621910df91
295 changed files with 2142 additions and 1562 deletions
+2 -1
View File
@@ -81,7 +81,8 @@ public class TileItemGen extends AEBaseTile implements IInventory
{
// Safeguard for crash
ItemStack testStack = POSSIBLE_ITEMS.peek();
if( testStack.isEmpty() ) testStack = new ItemStack(Blocks.COBBLESTONE, 1);
if( testStack.isEmpty() )
testStack = new ItemStack( Blocks.COBBLESTONE, 1 );
return testStack;
}
@@ -67,7 +67,7 @@ public class ToolReplicatorCard extends AEBaseItem
tag.setInteger( "z", z );
tag.setInteger( "side", side.ordinal() );
tag.setInteger( "dimid", world.provider.getDimension() );
player.getHeldItem(hand).setTagCompound( tag );
player.getHeldItem( hand ).setTagCompound( tag );
}
else
{
@@ -76,7 +76,7 @@ public class ToolReplicatorCard extends AEBaseItem
}
else
{
final NBTTagCompound ish = player.getHeldItem(hand).getTagCompound();
final NBTTagCompound ish = player.getHeldItem( hand ).getTagCompound();
if( ish != null )
{
final int src_x = ish.getInteger( "x" );