Added "Bukkit Plugin" to InvalidModIdentifier (#7384)

This commit is contained in:
DaemonUmbra 2020-10-02 19:40:06 -04:00 committed by GitHub
parent 6e23030595
commit 9b421b54a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -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;

View file

@ -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}",