Added "Bukkit Plugin" to InvalidModIdentifier (#7384)
This commit is contained in:
parent
6e23030595
commit
9b421b54a7
2 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,7 @@ public enum InvalidModIdentifier {
|
||||||
FABRIC(filePresent("fabric.mod.json")),
|
FABRIC(filePresent("fabric.mod.json")),
|
||||||
LITELOADER(filePresent("litemod.json")),
|
LITELOADER(filePresent("litemod.json")),
|
||||||
OPTIFINE(filePresent("optifine/Installer.class")),
|
OPTIFINE(filePresent("optifine/Installer.class")),
|
||||||
|
BUKKIT(filePresent("plugin.yml")),
|
||||||
INVALIDZIP((f,zf) -> !zf.isPresent());
|
INVALIDZIP((f,zf) -> !zf.isPresent());
|
||||||
|
|
||||||
private BiPredicate<Path, Optional<ZipFile>> ident;
|
private BiPredicate<Path, Optional<ZipFile>> ident;
|
||||||
|
|
|
@ -56,6 +56,7 @@
|
||||||
"fml.modloading.brokenfile.liteloader": "File {2} is a LiteLoader mod and cannot be loaded",
|
"fml.modloading.brokenfile.liteloader": "File {2} is a LiteLoader mod and cannot be loaded",
|
||||||
"fml.modloading.brokenfile.fabric": "File {2} is a Fabric mod and cannot be loaded",
|
"fml.modloading.brokenfile.fabric": "File {2} is a Fabric mod and cannot be loaded",
|
||||||
"fml.modloading.brokenfile.optifine": "File {2} is an incompatible version of OptiFine",
|
"fml.modloading.brokenfile.optifine": "File {2} is an incompatible version of OptiFine",
|
||||||
|
"fml.modloading.brokenfile.bukkit": "File {2} is a Bukkit or Bukkit-implementor (Spigot, Paper, etc.) plugin and cannot be loaded",
|
||||||
"fml.modloading.brokenfile.invalidzip": "File {2} is not a jar file",
|
"fml.modloading.brokenfile.invalidzip": "File {2} is not a jar file",
|
||||||
"fml.modloading.brokenresources": "File {2} failed to load a valid ResourcePackInfo",
|
"fml.modloading.brokenresources": "File {2} failed to load a valid ResourcePackInfo",
|
||||||
"fml.modloading.missinglicense": "Missing License Information in file {3}",
|
"fml.modloading.missinglicense": "Missing License Information in file {3}",
|
||||||
|
|
Loading…
Reference in a new issue