mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 04:32:26 +00:00
Make modifiers only applicable to their valid types. Fix some inconsistencies with that. Might possibly contain bugs still.
This commit is contained in:
1 parent
9d8e8128b0
commit
1cd4f214ff
7 files changed
+36
-4
No files matched your search
@@ -33,6 +33,6 @@ public abstract class ArmorMod extends ItemModifier
|
||||
@Override
|
||||
public boolean validType (IModifyable type)
|
||||
{
|
||||
return type.getModifyType().equals("Armor");
|
||||
return type.getModifyType().equals("Armor") || type.getModifyType().equals("Clothing");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user