- Timestamp:
- Jan 17, 2013, 8:52:55 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/backend/depot/model/NodeMod.java
r603 r626 153 153 */ 154 154 public boolean isTool() { 155 TaxonomyTerm tt = DepotManager.getInstance().getTaxonomyTerm( 156 DepotConfig.getTaxonomyName_ModType_Tool()); 157 return getTypes().contains(tt); 155 HashSet<TaxonomyTerm> types = getTypes(); 156 for (String s : DepotConfig.getTaxonomyName_ModType_Tool()) { 157 TaxonomyTerm tt = DepotManager.getInstance().getTaxonomyTerm(s); 158 if (types.contains(tt)) 159 return true; 160 } 161 return false; 158 162 } 159 163 }
Note:
See TracChangeset
for help on using the changeset viewer.