Changeset 640 for AE/installer2/src/net/oni2/aeinstaller/backend
- Timestamp:
- Jan 20, 2013, 7:02:43 PM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller/backend/mods
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/backend/mods/Mod.java
r639 r640 19 19 import net.oni2.aeinstaller.backend.depot.model.NodeMod; 20 20 import net.oni2.aeinstaller.backend.depot.model.TaxonomyTerm; 21 import net.oni2.aeinstaller.backend.oni.Installer; 21 22 22 23 /** … … 205 206 */ 206 207 public boolean isInstalled() { 207 return ModManager.getInstance().isModInstalled(this); 208 if (tool) 209 return Installer.getInstalledTools().contains(packageNumber); 210 else 211 return ModManager.getInstance().isModInstalled(this); 208 212 } 209 213 -
AE/installer2/src/net/oni2/aeinstaller/backend/mods/ModManager.java
r637 r640 126 126 m.getTypes().add(localType); 127 127 } 128 mods.put(m.getPackageNumber(), m); 128 if (m.isTool()) 129 tools.put(m.getPackageNumber(), m); 130 else 131 mods.put(m.getPackageNumber(), m); 129 132 } 130 133
Note:
See TracChangeset
for help on using the changeset viewer.