diff --git a/pathetic-model/src/main/java/org/patheloper/util/ErrorLogger.java b/pathetic-model/src/main/java/org/patheloper/util/ErrorLogger.java index 61e1609b..2aa64b6c 100644 --- a/pathetic-model/src/main/java/org/patheloper/util/ErrorLogger.java +++ b/pathetic-model/src/main/java/org/patheloper/util/ErrorLogger.java @@ -14,7 +14,7 @@ public static IllegalStateException logFatalError(String message, Throwable caus log.error("==============================="); log.error("A fatal error has occurred: {}", message); log.error("Please open an issue on the Pathetic GitHub page with all this information:"); - log.error("Version: {}", Pathetic.getPluginInstance().getDescription().getVersion()); + log.error("Version: {}", Pathetic.getModelVersion()); log.error("Server Version: {}", Pathetic.getPluginInstance().getServer().getVersion()); log.error("Java Version: {}", System.getProperty("java.version")); log.error("OS: {}", System.getProperty("os.name"));