File tree 2 files changed +2
-5
lines changed
platforms/common/src/main/java/dynamic_fps/impl/config/option
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ How to install the battery library without having the mod do it on your behalf:
8
8
- You will want to download the file called ` libbattery-jni-1.0.0+<arch>.<os>.<ext> `
9
9
- If you're not sure which one to use simply download all of them, redundant ones are ignored at runtime
10
10
- Locate Dynamic FPS' cache directory in your Minecraft instance
11
- - This is currently ` <instance>/.cache/dynamic_fps ` for every mod loader
11
+ - This is currently ` <instance>/.cache/dynamic_fps/ ` for every mod loader
12
12
- Drop the dynamic library into this folder
13
13
- Start the game! The battery features should now be working
Original file line number Diff line number Diff line change @@ -21,10 +21,7 @@ public enum BatteryIndicatorCondition {
21
21
/**
22
22
* Show battery indicator when the battery is at a critical level (<= 10%).
23
23
*/
24
- CRITICAL (() -> {
25
- @ Nullable Integer charge = BatteryTracker .charge ();
26
- return DRAINING .isConditionMet () && charge != null && charge <= 10 ;
27
- }),
24
+ CRITICAL (() -> DRAINING .isConditionMet () && BatteryTracker .charge () <= 10 ),
28
25
29
26
/**
30
27
* Show battery indicator at all times.
You can’t perform that action at this time.
0 commit comments