Typos or word-improvements

This commit is contained in:
thatsIch
2015-03-26 11:20:31 +01:00
parent dff48c07c9
commit ec05bd994c
5 changed files with 15 additions and 15 deletions
@@ -25,14 +25,14 @@ import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import com.google.common.base.Joiner;
import org.lwjgl.opengl.GL11;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.item.ItemStack;
import com.google.common.base.Joiner;
import appeng.api.AEApi;
import appeng.api.config.SortDir;
import appeng.api.config.SortOrder;
@@ -328,10 +328,10 @@ public class GuiCraftingCPU extends AEBaseGui implements ISortSource
if ( AEConfig.instance.useColoredCraftingStatus && ( active || scheduled ) )
{
int bgcol = ( active ? AEColor.Green.blackVariant : AEColor.Yellow.blackVariant ) | 0x5A000000;
int bgColor = ( active ? AEColor.Green.blackVariant : AEColor.Yellow.blackVariant ) | 0x5A000000;
int startX = (x * (1 + sectionLength) + xo) * 2;
int startY = ((y * offY + yo) - 3) * 2;
drawRect( startX, startY, startX + (sectionLength * 2), startY + (offY * 2) - 2, bgcol);
drawRect( startX, startY, startX + (sectionLength * 2), startY + (offY * 2) - 2, bgColor);
}
int negY = ((lines - 1) * 5) / 2;
@@ -39,7 +39,7 @@ public class SlotDisconnected extends AppEngSlot
@Override
public ItemStack getDisplayStack()
{
if ( Platform.isClient() )// && (which == PlaceableItemType.ENCODED_PATTERN) )
if ( Platform.isClient() )
{
ItemStack is = super.getStack();
if ( is != null && is.getItem() instanceof ItemEncodedPattern )
@@ -83,7 +83,7 @@ public class PartAnnihilationPlane extends PartBasicState implements IGridTickab
public TickRateModulation call() throws Exception
{
this.breaking = false;
return this.breakblock( true );
return this.breakBlock( true );
}
@Override
@@ -244,7 +244,7 @@ public class PartAnnihilationPlane extends PartBasicState implements IGridTickab
this.getHost().markForUpdate();
}
public TickRateModulation breakblock( boolean modulate )
public TickRateModulation breakBlock( boolean modulate )
{
if ( this.isAccepting && this.proxy.isActive() )
{
@@ -419,7 +419,7 @@ public class PartAnnihilationPlane extends PartBasicState implements IGridTickab
}
this.isAccepting = true;
return this.breakblock( false );
return this.breakBlock( false );
}
/**
+3 -3
View File
@@ -78,15 +78,15 @@ public class ConfigManager implements IConfigManager
/**
* save all settings using config manager.
*
* @param tagCompound to be written to compound
* @param destination to be written to compound
*/
@Override
public void writeToNBT(NBTTagCompound tagCompound)
public void writeToNBT(NBTTagCompound destination )
{
for (Enum e : this.Settings.keySet())
{
tagCompound.setString( e.name(), this.Settings.get( e ).toString() );
destination.setString( e.name(), this.Settings.get( e ).toString() );
}
}