Merge branch 'master' of http://192.168.200.25:3000/Lenheart/MXD-Server
This commit is contained in:
commit
8651c4f874
|
|
@ -1051,6 +1051,10 @@ public class 特殊控制台 extends JFrame {
|
|||
JSONArray zl = jsonObject2.getJSONArray("zl");
|
||||
Start.zlConfigs = zl .toJavaList(ZLConfig.class).stream().sorted(Comparator.comparing(ZLConfig::getNum)).collect(Collectors.toList());
|
||||
Start.zlkg = jsonObject2.getInteger("zlkg");
|
||||
|
||||
|
||||
JSONArray shxs1 = Start.ConfigValuesJson.getJSONArray("shxs");
|
||||
Start.shxs =shxs1.toArray(new String[0]);
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
@ -1058,6 +1062,7 @@ public class 特殊控制台 extends JFrame {
|
|||
|
||||
|
||||
public static void setTwConfig() {
|
||||
Start.ConfigValuesJson.put("shxs", Start.shxs);
|
||||
String string = Start.ConfigValuesJson.toString();
|
||||
String property = System.getProperty("user.dir");
|
||||
FileWriter fileWriter = new FileWriter(new File(property + "\\配置文件\\伤害控制.ini"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue