Skip to content

Commit f0e890d

Browse files
committed
chore: release version 1.5.4
fix: make DEBUG flag configurable
1 parent c132526 commit f0e890d

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ExtraSounds Next - Changelog
22

3-
## [1.5.0 - 1.5.2]
3+
## [1.5.0 - 1.5.3]
44

55
**New Features**
66
- Added sound support for popular mods:
@@ -17,10 +17,10 @@
1717

1818
**Fixes**
1919
- Sound switches not working properly
20-
**Chores**
2120
- Correct mixin refmap configuration
21+
- Fixed Forge jar used development version instead of release version
2222

23-
## [1.5.3]
24-
23+
## [1.5.4]
2524
**Fixes**
26-
- Fixed Forge jar used development version instead of release version
25+
- Make DEBUG flag via system property
26+
- Fixed ae2 compatibility

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ org.gradle.configuration-cache=false
55
mod.id=extrasounds
66
mod.name=ExtraSounds Next
77
mod.group=dev.arbor
8-
mod.version=1.5.3
8+
mod.version=1.5.4
99
mod.channel_tag=
1010
mod.authors=Arborsm, stashymane
1111
mod.contributors=

src/main/java/dev/arbor/extrasoundsnext/debug/DebugUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public class DebugUtils {
2222
public static final String NO_CACHE_VAR = "extrasounds.nocache";
2323
private static final String JVM_ARG_SEARCH_UNDEF_SND = "extrasounds.searchundef";
2424

25-
public static final boolean DEBUG = true;
25+
public static final boolean DEBUG = System.getProperties().containsKey(DEBUG_VAR)
26+
&& System.getProperties().get(DEBUG_VAR).equals("true");
2627
public static final String DEBUG_PATH = System.getProperties().containsKey(DEBUG_PATH_VAR)
2728
? System.getProperty(DEBUG_PATH_VAR) : "debug/";
2829
public static final boolean NO_CACHE = System.getProperties().containsKey(NO_CACHE_VAR)

0 commit comments

Comments
 (0)