Fix mod msg status (#896)

* Fix mod msg status

* Fix validators
This commit is contained in:
Geometrically
2024-04-22 13:09:35 -07:00
committed by GitHub
parent 28b0d34bff
commit 83ccf4928f
16 changed files with 57 additions and 124 deletions

View File

@@ -9,10 +9,6 @@ impl super::Validator for PluginYmlValidator {
&["zip", "jar"]
}
fn get_project_types(&self) -> &[&str] {
&["mod"]
}
fn get_supported_loaders(&self) -> &[&str] {
&["bukkit", "spigot", "paper", "purpur"]
}
@@ -45,10 +41,6 @@ impl super::Validator for BungeeCordValidator {
&["zip", "jar"]
}
fn get_project_types(&self) -> &[&str] {
&["mod"]
}
fn get_supported_loaders(&self) -> &[&str] {
&["bungeecord", "waterfall"]
}
@@ -81,10 +73,6 @@ impl super::Validator for VelocityValidator {
&["zip", "jar"]
}
fn get_project_types(&self) -> &[&str] {
&["mod"]
}
fn get_supported_loaders(&self) -> &[&str] {
&["velocity"]
}
@@ -114,10 +102,6 @@ impl super::Validator for SpongeValidator {
&["zip", "jar"]
}
fn get_project_types(&self) -> &[&str] {
&["mod"]
}
fn get_supported_loaders(&self) -> &[&str] {
&["sponge"]
}