summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorfx <[email protected]>2023-05-13 17:28:00 +0200
committerfx <[email protected]>2023-05-13 17:28:00 +0200
commit5a2ea0755b29a8811aeeec1c73679c5783082628 (patch)
treedb2aaedda9678465763993eeec15bd20673394e8 /src/lib.rs
parent9063a041f6b2e72f6e4a861c77ac16065dd5378b (diff)
parent3b9d717ecd61bd2b5c32ec117f38c7d67a109748 (diff)
downloadmodlist-5a2ea0755b29a8811aeeec1c73679c5783082628.tar
modlist-5a2ea0755b29a8811aeeec1c73679c5783082628.tar.gz
modlist-5a2ea0755b29a8811aeeec1c73679c5783082628.zip
Merge pull request 'todos' (#5) from todos into master
Reviewed-on: http://raspberrypi.fritz.box:7920/fx/modlist/pulls/5
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f18bdfb..1c40ceb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -29,6 +29,7 @@ impl Modloader {
29 match string { 29 match string {
30 "forge" => Ok(Modloader::Forge), 30 "forge" => Ok(Modloader::Forge),
31 "fabric" => Ok(Modloader::Fabric), 31 "fabric" => Ok(Modloader::Fabric),
32 "quilt" => Ok(Modloader::Quilt),
32 _ => Err(MLError::new(ErrorType::ArgumentError, "UNKNOWN_MODLOADER")), 33 _ => Err(MLError::new(ErrorType::ArgumentError, "UNKNOWN_MODLOADER")),
33 } 34 }
34 } 35 }