Cache the output index of an automatic equipment item. @param item The equipment item.
(Equipment item)
| 2253 | * @param item The equipment item. |
| 2254 | */ |
| 2255 | public void cacheOutputIndex(Equipment item) |
| 2256 | { |
| 2257 | if (item.isAutomatic()) |
| 2258 | { |
| 2259 | if (Logging.isDebugMode()) |
| 2260 | { |
| 2261 | Logging.debugPrint("Caching " + item.getKeyName() + " - " + item.getOutputIndex() + " item"); |
| 2262 | } |
| 2263 | autoEquipOutputOrderCache.put(item.getKeyName(), item.getOutputIndex()); |
| 2264 | } |
| 2265 | } |
| 2266 | |
| 2267 | /** |
| 2268 | * Update the number of a particular equipment item the character possesses. |
no test coverage detected