Skip to content

Commit

Permalink
Game no longer has a chance of crashing on startup while traveler's b…
Browse files Browse the repository at this point in the history
…ackpack and accessories are loaded
  • Loading branch information
B1n-ry committed Sep 23, 2024
1 parent 978fe50 commit 2466afd
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@

public class TravelersBackpackCompat implements InvModCompat<Pair<ItemStack, DropRule>> {
public static boolean isAccessoriesIntegrationEnabled() {
return TravelersBackpackConfig.getConfig().backpackSettings.accessoriesIntegration;
try {
return TravelersBackpackConfig.getConfig().backpackSettings.accessoriesIntegration;
}
catch (Exception e) {
return false;
}
}

@Override
Expand Down

0 comments on commit 2466afd

Please sign in to comment.