From 673e7d14dd2d0b6509b5838afe4d396d5b2d3998 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 4 Jan 2025 09:45:08 -0600 Subject: [PATCH] make ModInfo.IS_DEV_BUILD final --- .../main/java/com/seibel/distanthorizons/coreapi/ModInfo.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/src/main/java/com/seibel/distanthorizons/coreapi/ModInfo.java b/api/src/main/java/com/seibel/distanthorizons/coreapi/ModInfo.java index b9b444732..df99119fd 100644 --- a/api/src/main/java/com/seibel/distanthorizons/coreapi/ModInfo.java +++ b/api/src/main/java/com/seibel/distanthorizons/coreapi/ModInfo.java @@ -40,7 +40,7 @@ public final class ModInfo public static final String READABLE_NAME = "Distant Horizons"; public static final String VERSION = "2.3.0-b-dev"; /** Returns true if the current build is an unstable developer build, false otherwise. */ - public static boolean IS_DEV_BUILD = VERSION.toLowerCase().contains("dev"); + public static final boolean IS_DEV_BUILD = VERSION.toLowerCase().contains("dev"); /** This version should only be updated when breaking changes are introduced to the DH API */ public static final int API_MAJOR_VERSION = 4; @@ -55,4 +55,6 @@ public final class ModInfo /** All DH owned threads should start with this string to allow for easier debugging and profiling. */ public static final String THREAD_NAME_PREFIX = "DH-"; + + }