missing indium with sodium
This commit is contained in:
parent
3cc8ecde4a
commit
79df8bbaa9
1 changed files with 13 additions and 0 deletions
|
@ -27,6 +27,7 @@ pub async fn find(log: &str, data: &Data) -> Result<Vec<(String, String)>> {
|
|||
legacyjavafixer,
|
||||
locked_jar,
|
||||
offline_launch,
|
||||
frapi,
|
||||
];
|
||||
|
||||
let mut res: Vec<(String, String)> = issues.iter().filter_map(|issue| issue(log)).collect();
|
||||
|
@ -322,4 +323,16 @@ fn offline_launch(log: &str) -> Issue {
|
|||
|
||||
let found = log.contains("(missing)\n");
|
||||
found.then_some(issue)
|
||||
}
|
||||
|
||||
fn frapi(log: &str) -> Issue {
|
||||
let issue = (
|
||||
"Fabric Rendering API".to_string(),
|
||||
"You are using a mod that needs Indium.
|
||||
Please install it by going to `Edit > Mods > Download Mods`."
|
||||
.to_string(),
|
||||
);
|
||||
|
||||
let found = log.contains("Cannot invoke \"net.fabricmc.fabric.api.renderer.v1.Renderer.meshBuilder()\"");
|
||||
found.then_some(issue)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue