diff --git a/src/main/java/emu/grasscutter/data/excels/TalkConfigData.java b/src/main/java/emu/grasscutter/data/excels/TalkConfigData.java index 5cc84fb64..25506dbd2 100644 --- a/src/main/java/emu/grasscutter/data/excels/TalkConfigData.java +++ b/src/main/java/emu/grasscutter/data/excels/TalkConfigData.java @@ -39,7 +39,7 @@ public final class TalkConfigData extends GameResource { if (this.questId <= 0) { var id = String.valueOf(this.getId()); - this.questId = Integer.parseInt(id.length() < 5 ? "0" : id.substring(0, 3)); + this.questId = Integer.parseInt(id.length() < 5 ? "0" : id.substring(0, id.length() - 2)); } }