()
| 69 | } |
| 70 | |
| 71 | public static void init() { |
| 72 | if (Core.settings.has("handlerManager")) { |
| 73 | try { |
| 74 | String[] temp; |
| 75 | for (String line : Core.settings.getString("handlerManager").split(" \\| ")) { |
| 76 | temp = line.split("\\="); |
| 77 | commands.put(temp[0], Boolean.parseBoolean(temp[1])); |
| 78 | } |
| 79 | } catch (Exception e) { save(); } |
| 80 | |
| 81 | } else save(); |
| 82 | |
| 83 | canLoad = true; |
| 84 | } |
| 85 | |
| 86 | |
| 87 | public static class Commands { |