mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 03:05:34 +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 {
|
||||
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);
|
||||
} catch (Exception ignored) {}
|
||||
});
|
||||
@ -480,7 +480,7 @@ public class ResourceLoader {
|
||||
return;
|
||||
}
|
||||
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) {
|
||||
return;
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ public class ItemData extends GameResource {
|
||||
private int comfort;
|
||||
private List<Integer> furnType;
|
||||
private List<Integer> furnitureGadgetID;
|
||||
@SerializedName("JFDLJGDFIGL")
|
||||
@SerializedName(value="OHIANNAEEAK", alternate={"DANFGGLKLNO", "JFDLJGDFIGL"})
|
||||
private int roomSceneId;
|
||||
|
||||
// Custom
|
||||
|
Loading…
Reference in New Issue
Block a user