Fixed #8328
This commit is contained in:
@@ -265,8 +265,17 @@ public class ServerControl implements ApplicationListener{
|
||||
Core.settings.forceSave();
|
||||
}, saveInterval, saveInterval);
|
||||
|
||||
if(!mods.list().isEmpty()){
|
||||
info("@ mods loaded.", mods.list().size);
|
||||
if(!mods.orderedMods().isEmpty()){
|
||||
info("@ mods loaded.", mods.orderedMods().size);
|
||||
}
|
||||
|
||||
int unsupported = mods.list().count(l -> !l.enabled());
|
||||
|
||||
if(unsupported > 0){
|
||||
Log.err("There were errors loading @ mod(s):", unsupported);
|
||||
for(LoadedMod mod : mods.list().select(l -> !l.enabled())){
|
||||
Log.err("- @ &ly(" + mod.state + ")", mod.meta.name);
|
||||
}
|
||||
}
|
||||
|
||||
toggleSocket(Config.socketInput.bool());
|
||||
@@ -459,7 +468,7 @@ public class ServerControl implements ApplicationListener{
|
||||
if(!mods.list().isEmpty()){
|
||||
info("Mods:");
|
||||
for(LoadedMod mod : mods.list()){
|
||||
info(" @ &fi@", mod.meta.displayName(), mod.meta.version);
|
||||
info(" @ &fi@ " + (mod.enabled() ? "" : " &lr(" + mod.state + ")"), mod.meta.displayName(), mod.meta.version);
|
||||
}
|
||||
}else{
|
||||
info("No mods found.");
|
||||
|
||||
Reference in New Issue
Block a user