mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 09:56:57 +00:00
fix serenitea pot (#1726)
* partial fix of serenitea pot * fix serenitea pot
This commit is contained in:
parent
7dd0c89927
commit
96caa7db17
@ -465,7 +465,7 @@ public class ResourceLoader {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
var sceneId = Integer.parseInt(matcher.group(1));
|
var sceneId = Integer.parseInt(matcher.group(1));
|
||||||
var data = JsonUtils.loadToClass(filename, HomeworldDefaultSaveData.class);
|
var data = JsonUtils.loadToClass(file.toString(), HomeworldDefaultSaveData.class);
|
||||||
GameData.getHomeworldDefaultSaveData().put(sceneId, data);
|
GameData.getHomeworldDefaultSaveData().put(sceneId, data);
|
||||||
} catch (Exception ignored) {}
|
} catch (Exception ignored) {}
|
||||||
});
|
});
|
||||||
@ -480,7 +480,7 @@ public class ResourceLoader {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
var data = JsonUtils.loadToClass(file.getFileName().toString(), SceneNpcBornData.class);
|
var data = JsonUtils.loadToClass(file.toString(), SceneNpcBornData.class);
|
||||||
if (data.getBornPosList() == null || data.getBornPosList().size() == 0) {
|
if (data.getBornPosList() == null || data.getBornPosList().size() == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ public class ItemData extends GameResource {
|
|||||||
private int comfort;
|
private int comfort;
|
||||||
private List<Integer> furnType;
|
private List<Integer> furnType;
|
||||||
private List<Integer> furnitureGadgetID;
|
private List<Integer> furnitureGadgetID;
|
||||||
@SerializedName("JFDLJGDFIGL")
|
@SerializedName(value="OHIANNAEEAK", alternate={"DANFGGLKLNO", "JFDLJGDFIGL"})
|
||||||
private int roomSceneId;
|
private int roomSceneId;
|
||||||
|
|
||||||
// Custom
|
// Custom
|
||||||
|
Loading…
Reference in New Issue
Block a user