diff --git a/AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules/AEFModule.java b/AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules/AEFModule.java index 8c943bd0..af7b84e6 100755 --- a/AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules/AEFModule.java +++ b/AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules/AEFModule.java @@ -93,9 +93,9 @@ public static void reloadModules() { } } catch (Throwable t) { if (t.getCause() instanceof NoClassDefFoundError) { - AnarchyExploitFixes.prefixedLogger().info("Dependencies for module class {} missing, not enabling.", moduleClass.getSimpleName()); + AnarchyExploitFixes.prefixedLogger().info("Dependencies for module class {} missing, cannot enable.", moduleClass.getSimpleName()); } else { - AnarchyExploitFixes.prefixedLogger().warn("Failed initialising module class '{}'.", moduleClass.getSimpleName(), t); + AnarchyExploitFixes.prefixedLogger().warn("Module class '{}' failed to init. {}.", moduleClass.getSimpleName(), t.getLocalizedMessage()); } } } diff --git a/AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/modules/AEFModule.java b/AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/modules/AEFModule.java index 3c293312..eb028212 100755 --- a/AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/modules/AEFModule.java +++ b/AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/modules/AEFModule.java @@ -94,9 +94,9 @@ public static void reloadModules() { } } catch (Throwable t) { if (t.getCause() instanceof NoClassDefFoundError) { - AnarchyExploitFixes.prefixedLogger().info("Dependencies for module class {} missing, not enabling.", moduleClass.getSimpleName()); + AnarchyExploitFixes.prefixedLogger().info("Dependencies for module class {} missing, cannot enable.", moduleClass.getSimpleName()); } else { - AnarchyExploitFixes.prefixedLogger().warn("Failed initialising module class '{}'.", moduleClass.getSimpleName(), t); + AnarchyExploitFixes.prefixedLogger().warn("Module class '{}' failed to init. {}.", moduleClass.getSimpleName(), t.getLocalizedMessage()); } } }