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