summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2023-04-30 20:11:10 +0200
committerfxqnlr <[email protected]>2023-04-30 20:11:10 +0200
commite8cac6786bc2e91382316ef1023a494c3e812013 (patch)
treeb8b463cfbbea2290829b1a53d4835ee8fb2742c5 /src/main.rs
parent06f933dac333d58b2cc3ae7ab0c285e5015a0257 (diff)
downloadmodlist-e8cac6786bc2e91382316ef1023a494c3e812013.tar
modlist-e8cac6786bc2e91382316ef1023a494c3e812013.tar.gz
modlist-e8cac6786bc2e91382316ef1023a494c3e812013.zip
added modloader default to config
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 53cbe71..82c0ade 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -201,8 +201,7 @@ async fn main() {
201 } => { 201 } => {
202 let ml = match modloader { 202 let ml = match modloader {
203 Some(ml) => Modloader::from(&ml).unwrap(), 203 Some(ml) => Modloader::from(&ml).unwrap(),
204 //TODO add default modloader to config 204 None => config.clone().defaults.modloader,
205 None => Modloader::Fabric,
206 }; 205 };
207 206
208 let ver = match version { 207 let ver = match version {