Commit f93d998f authored by pfyy's avatar pfyy Committed by Melledy
Browse files

fix serenitea pot main building

parent 735b48ed
...@@ -34,8 +34,11 @@ public class HomeworldDefaultSaveData { ...@@ -34,8 +34,11 @@ public class HomeworldDefaultSaveData {
@SerializedName(value = "FGIJCELCGFI", alternate = "PGDPDIDJEEL") @SerializedName(value = "FGIJCELCGFI", alternate = "PGDPDIDJEEL")
int blockId; int blockId;
@SerializedName(value = "BEAPOFELABD", alternate = "MLIODLGDFHJ") @SerializedName("BEAPOFELABD")
List<HomeFurniture> furnitures; List<HomeFurniture> furnitures;
@SerializedName("MLIODLGDFHJ")
List<HomeFurniture> persistentFurnitures;
} }
@Data @Data
......
...@@ -75,9 +75,13 @@ public class HomeBlockItem { ...@@ -75,9 +75,13 @@ public class HomeBlockItem {
homeBlock.getFurnitures().stream() homeBlock.getFurnitures().stream()
.map(HomeFurnitureItem::parseFrom) .map(HomeFurnitureItem::parseFrom)
.toList()) .toList())
.persistentFurnitureList(
homeBlock.getPersistentFurnitures() == null ? List.of() :
homeBlock.getPersistentFurnitures().stream()
.map(HomeFurnitureItem::parseFrom)
.toList())
.deployAnimalList(List.of()) .deployAnimalList(List.of())
.deployNPCList(List.of()) .deployNPCList(List.of())
.persistentFurnitureList(List.of())
.build(); .build();
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment