Skip to content

Commit

Permalink
Fixing the Exo-Derp
Browse files Browse the repository at this point in the history
  • Loading branch information
blue42u committed Apr 29, 2014
1 parent 330fc16 commit 30576bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/common/TRecipes.java
Expand Up @@ -656,7 +656,7 @@ protected static void addRecipesForCraftingTable ()
ItemStack exoChestStack = new ItemStack(TRepo.exoChest);
ItemStack exoPantsStack = new ItemStack(TRepo.exoPants);
ItemStack exoShoesStack = new ItemStack(TRepo.exoShoes);
if (!PHConstruct.exoCraftingEnabled)
if (PHConstruct.exoCraftingEnabled)
{
ToolBuilder.instance.addArmorTag(exoGoggleStack);
ToolBuilder.instance.addArmorTag(exoChestStack);
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/tconstruct/items/armor/ExoArmor.java
Expand Up @@ -39,7 +39,8 @@ public void registerIcons (IIconRegister par1IconRegister)
@Override
public String getArmorTexture (ItemStack stack, Entity entity, int slot, String layer)
{
return "tinker:textures/armor/" + textureName + "_" + layer + ".png";
int suffix = this.armorType == 2 ? 2 : 1;
return "tinker:textures/armor/" + textureName + "_" + suffix + ".png";
}

@Override
Expand Down

0 comments on commit 30576bd

Please sign in to comment.