This executes all of the Runnable's stored within API.desktop_tasks NOT TO BE REFERENCED BY MODS
()
| 215 | */ |
| 216 | |
| 217 | static void executeAll_Desktop() { |
| 218 | if (API.desktop_tasks.entrySet().size() >= 1) { |
| 219 | API.println("Executing Desktop Tasks.."); |
| 220 | for (Map.Entry<String, Runnable> entry : API.desktop_tasks.entrySet()) { |
| 221 | API.println(String.format("Executing %s..", entry.getKey())); |
| 222 | entry.getValue().run(); |
| 223 | } |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | /** |
| 228 | * This executes all of the Runnable's stored within API.desktop_tasks2 |