Commit 349f6093eca20f86d02b7643d9cc54e569975c6b
1 parent
9d130852
mention injected tweaks in load status message
Showing
1 changed file
with
3 additions
and
2 deletions
java/common/com/mumfrey/liteloader/core/LiteLoader.java
| @@ -895,7 +895,8 @@ public final class LiteLoader | @@ -895,7 +895,8 @@ public final class LiteLoader | ||
| 895 | private void loadAndInitMods() | 895 | private void loadAndInitMods() |
| 896 | { | 896 | { |
| 897 | int totalMods = this.enumerator.modsToLoadCount(); | 897 | int totalMods = this.enumerator.modsToLoadCount(); |
| 898 | - LiteLoaderLogger.info("Discovered %d total mod(s)", totalMods); | 898 | + int totalTweaks = this.enumerator.getInjectedTweaks().size(); |
| 899 | + LiteLoaderLogger.info("Discovered %d total mod(s), injected %d tweak(s)", totalMods, totalTweaks); | ||
| 899 | 900 | ||
| 900 | if (totalMods > 0) | 901 | if (totalMods > 0) |
| 901 | { | 902 | { |
| @@ -904,7 +905,7 @@ public final class LiteLoader | @@ -904,7 +905,7 @@ public final class LiteLoader | ||
| 904 | } | 905 | } |
| 905 | else | 906 | else |
| 906 | { | 907 | { |
| 907 | - LiteLoaderLogger.info("Mod class discovery failed or no mod classes were found. Not loading any mods."); | 908 | + LiteLoaderLogger.info("No mod classes were found. Not loading any mods."); |
| 908 | } | 909 | } |
| 909 | 910 | ||
| 910 | // Initialises the required hooks for loaded mods | 911 | // Initialises the required hooks for loaded mods |