(String fileName)
| 95 | } |
| 96 | |
| 97 | private static void readCitProperties(String fileName) |
| 98 | { |
| 99 | try |
| 100 | { |
| 101 | ResourceLocation resourcelocation = new ResourceLocation(fileName); |
| 102 | InputStream inputstream = Config.getResourceStream(resourcelocation); |
| 103 | |
| 104 | if (inputstream == null) |
| 105 | { |
| 106 | return; |
| 107 | } |
| 108 | |
| 109 | Config.dbg("CustomItems: Loading " + fileName); |
| 110 | Properties properties = new PropertiesOrdered(); |
| 111 | properties.load(inputstream); |
| 112 | inputstream.close(); |
| 113 | useGlint = Config.parseBoolean(properties.getProperty("useGlint"), true); |
| 114 | } |
| 115 | catch (FileNotFoundException var4) |
| 116 | { |
| 117 | return; |
| 118 | } |
| 119 | catch (IOException ioexception) |
| 120 | { |
| 121 | ioexception.printStackTrace(); |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | private static void update(IResourcePack rp) |
| 126 | { |
no test coverage detected