Fixing the Exo-Derp

This commit is contained in:
blue42u committed 2014-04-29 08:35:31 -05:00
1 parent 330fc168fd
commit 30576bdd45
2 files changed
+3 -2

No files matched your search

@@ -656,7 +656,7 @@ public class TRecipes
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);
@@ -39,7 +39,8 @@ public class ExoArmor extends ArmorCore
@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