Skip to content

Commit

Permalink
Suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
Asleeepp committed Sep 28, 2024
1 parent 0764cc2 commit cdfab81
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/ch/njol/skript/Skript.java
Original file line number Diff line number Diff line change
Expand Up @@ -1703,8 +1703,6 @@ private static void logErrorDetails(@Nullable Throwable cause, String[] info, @N
logEx();
logVersionInfo();
logEx();
logEx("Server platform: " + serverPlatform.name + (serverPlatform.supported ? "" : " (unsupported)"));
logEx();
logCurrentState(thread, item);
logEx("End of Error.");
logEx();
Expand Down Expand Up @@ -1754,6 +1752,7 @@ private static void logExAddonInfo(String issuesUrl, Set<PluginDescriptionFile>
stackPlugins.forEach(desc -> logEx(getPluginDescription(desc)));
}
logEx("Try disabling the listed plugins one by one to identify the cause.");
logEx("If disabling a plugin resolves the issue, please report the problem to the plugin developer.");
}
}

Expand Down Expand Up @@ -1791,6 +1790,8 @@ private static void logVersionInfo() {
logEx("Minecraft: " + getMinecraftVersion());
logEx("Java: " + System.getProperty("java.version") + " (" + System.getProperty("java.vm.name") + " " + System.getProperty("java.vm.version") + ")");
logEx("OS: " + System.getProperty("os.name") + " " + System.getProperty("os.arch") + " " + System.getProperty("os.version"));
logEx();
logEx("Server platform: " + serverPlatform.name + (serverPlatform.supported ? "" : " (unsupported)"));
}

private static String getStatusDescription(ReleaseStatus status) {
Expand Down

0 comments on commit cdfab81

Please sign in to comment.