diff --git a/src/main/java/emu/grasscutter/data/excels/TalkConfigData.java b/src/main/java/emu/grasscutter/data/excels/TalkConfigData.java index c44a63b80..1aa45c241 100644 --- a/src/main/java/emu/grasscutter/data/excels/TalkConfigData.java +++ b/src/main/java/emu/grasscutter/data/excels/TalkConfigData.java @@ -19,6 +19,14 @@ public final class TalkConfigData extends GameResource { @SerializedName(value="questId", alternate={"_questId"}) private int questId; + @Override + public void onLoad() { + this.finishExec = this.finishExec == null ? List.of() : + this.finishExec.stream() + .filter(x -> x.getType() != null) + .toList(); + } + @Data public static class TalkExecParam { @SerializedName(value="type", alternate={"_type"})