mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 11:17:11 +07:00
Fix a typo (#1528)
* Fix a typo * Update core/src/mindustry/mod/Mods.java Co-Authored-By: Patrick 'Quezler' Mounier <Quezler@me.com> Co-authored-by: Patrick 'Quezler' Mounier <Quezler@me.com>
This commit is contained in:
parent
37a9311202
commit
7b586ea043
@ -611,7 +611,7 @@ public class Mods implements Loadable{
|
||||
|
||||
Fi metaf = zip.child("mod.json").exists() ? zip.child("mod.json") : zip.child("mod.hjson").exists() ? zip.child("mod.hjson") : zip.child("plugin.json");
|
||||
if(!metaf.exists()){
|
||||
Log.warn("Mod {0} doesn't have a 'mod.json'/'plugin.json'/'mod.js' file, skipping.", sourceFile);
|
||||
Log.warn("Mod {0} doesn't have a 'mod.json'/'mod.hjson'/'plugin.json' file, skipping.", sourceFile);
|
||||
throw new IllegalArgumentException("No mod.json found.");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user