From 9564f02283cb8078c7b545f6238b957e74f8bd8e Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 20 Sep 2025 22:40:53 -0500 Subject: [PATCH] maybe fix freebsd OS crashing --- .../java/com/seibel/distanthorizons/core/jar/EPlatform.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/jar/EPlatform.java b/core/src/main/java/com/seibel/distanthorizons/core/jar/EPlatform.java index 9a9c55cda..0d19cfb82 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/jar/EPlatform.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/jar/EPlatform.java @@ -76,7 +76,7 @@ public enum EPlatform { // For MacOS it should either output "Mac OS X" or "Darwin" depending on the version of MacOS current = MACOS; } - else if (osName.startsWith("bsd")) + else if (osName.startsWith("bsd") || osName.startsWith("freebsd")) { // Depending on the BSD distro this will be different current = BSD; }