More staging fixes (#768)

* Fixes issues

* staging fixes

* passes tests

* fixes. fmt/clippy

* drops datapack/plugin extras

* fixed failing test

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
This commit is contained in:
Wyatt VerchereandGeometrically authored and GitHub committed 2023-11-26 20:29:59 -07:00
1 parent 0efbbed5e2
commit fd18185ef0
16 files changed
+324 -73

No files matched your search

+5 -1
View File
@@ -77,7 +77,11 @@ impl LegacyProject {
// V2 versions only have one project type- v3 versions can rarely have multiple.
// We'll just use the first one.
let mut project_type = data.project_types.first().cloned().unwrap_or_default();
let mut project_type = data
.project_types
.first()
.cloned()
.unwrap_or("unknown".to_string());
let mut loaders = data.loaders;
if let Some(versions_item) = versions_item {