Skip to content

Commit 0bc5fd0

Browse files
committed
fix: crash with latest FTB Quests (1902.5.3)
1 parent f3dd9dc commit 0bc5fd0

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.2.2]
8+
9+
### Fixed
10+
* Fixed a crash with the latest version of FTB Quests and JEI/REI support.
11+
712
## [1.2.1]
813

914
### Fixed

common/src/main/java/dev/ftb/mods/ftbxmodcompat/ftbquests/recipemod_common/WrappedQuestCache.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ private void rebuildWrappedQuestCache() {
4141
if (ClientQuestFile.exists()) {
4242
for (ChapterGroup group : ClientQuestFile.INSTANCE.chapterGroups) {
4343
for (Chapter chapter : group.chapters) {
44-
for (Quest quest : chapter.quests) {
44+
for (Quest quest : chapter.getQuests()) {
4545
if (ClientQuestFile.INSTANCE.self.canStartTasks(quest) && !quest.rewards.isEmpty() && !quest.disableJEI.get(ClientQuestFile.INSTANCE.defaultQuestDisableJEI)) {
4646
List<Reward> rewards = quest.rewards.stream()
4747
.filter(reward -> reward.getAutoClaimType() != RewardAutoClaim.INVISIBLE && reward.getIngredient() != null)

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ minecraft_version=1.19.2
44
enabled_platforms=fabric,forge
55

66
archives_base_name=ftb-xmod-compat
7-
mod_version=1.2.1
7+
mod_version=1.2.2
88
maven_group=dev.ftb.mods
99
curseforge_id=889915
1010

@@ -16,7 +16,7 @@ fabric_api_version=0.76.0+1.19.2
1616
forge_version=1.19.2-43.2.8
1717

1818
ftb_library_version=1902.4.1-build.236
19-
ftb_quests_version=1902.5.0-build.245
19+
ftb_quests_version=1902.5.3-build.268
2020
ftb_chunks_version=1902.4.0-build.287
2121
ftb_ranks_version=1902.1.15-build.77
2222

0 commit comments

Comments
 (0)