Skip to content

Commit

Permalink
Fix Traveller Gear Repair #1093
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Oct 18, 2014
1 parent 8cdd0e5 commit c6e24f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/tconstruct/modifiers/armor/TravelModRepair.java
Expand Up @@ -3,6 +3,7 @@
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import tconstruct.armor.items.TravelGear;
import tconstruct.library.modifier.IModifyable;
import tconstruct.library.modifier.ItemModifier;

public class TravelModRepair extends ItemModifier
Expand Down Expand Up @@ -110,4 +111,9 @@ public void addMatchingEffect (ItemStack tool)
{
//Nope
}

@Override
public boolean validType(IModifyable input) {
return input.getModifyType().equals("Clothing");
}
}

0 comments on commit c6e24f8

Please sign in to comment.