()
| 201 | } |
| 202 | |
| 203 | public static String getBuild() { |
| 204 | if (build == null) { |
| 205 | try { |
| 206 | InputStream inputstream = Config.class.getResourceAsStream("/buildof.txt"); |
| 207 | |
| 208 | if (inputstream == null) { |
| 209 | return null; |
| 210 | } |
| 211 | |
| 212 | build = readLines(inputstream)[0]; |
| 213 | } catch (Exception exception) { |
| 214 | warn("" + exception.getClass().getName() + ": " + exception.getMessage()); |
| 215 | build = ""; |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | return build; |
| 220 | } |
| 221 | |
| 222 | public static boolean isFancyFogAvailable() { |
| 223 | return fancyFogAvailable; |
no test coverage detected