Skip to content

Commit

Permalink
Fix #398: crash if FTB Teams is loaded but FTB Quests is not
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Nov 10, 2022
1 parent 54f6034 commit 51ba28a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public interface FTBQuestsFacade {
FTBQuestsFacade INSTANCE = getInstance();

private static FTBQuestsFacade getInstance() {
if (FabricLoader.getInstance().isModLoaded("ftbteams")) {
if (FabricLoader.getInstance().isModLoaded("ftbquests")) {
try {
return Class.forName("aztech.modern_industrialization.compat.ftbquests.FTBQuestsFacadeImpl")
.asSubclass(FTBQuestsFacade.class).getConstructor().newInstance();
Expand Down

0 comments on commit 51ba28a

Please sign in to comment.