Skip to content

Commit

Permalink
Merge pull request #627 from blue42u/patch-exoderp
Browse files Browse the repository at this point in the history
Fixing the Exo-Derp
  • Loading branch information
progwml6 committed Apr 29, 2014
2 parents 14b9541 + 30576bd commit 801a514
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 801a514

Please sign in to comment.