Skip to content

Commit ebe64dd

Browse files
committed
fix config loading for profiles
1 parent 2fb1e58 commit ebe64dd

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

1.21.8/src/main/java/io/github/axolotlclient/waypoints/map/WorldMapScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ public void render(GuiGraphics guiGraphics, float playerX, float playerZ, float
575575
public CompletableFuture<?> load() {
576576
if (!loaded) {
577577
loaded = true;
578-
return Minecraft.getInstance().submit(supplier).thenApply(t -> tile = t);
578+
return CompletableFuture.supplyAsync(supplier, Minecraft.getInstance()).thenApply(t -> tile = t);
579579
}
580580
return CompletableFuture.completedFuture(null);
581581
}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22

3+
### 0.0.1-beta.20
4+
5+
- fix config loading
6+
37
### 0.0.1-beta.19
48

59
- fix some gui bugs

common/src/main/java/io/github/axolotlclient/waypoints/HudCreator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public static void createHud(MinimapCommon minimap) {
5757
HudManagerCommon.getInstance().addNonConfigured(hud);
5858
var mainConfigManager = (JsonConfigManager) AxolotlClientConfig.getInstance().getConfigManager(AxolotlClientWaypointsCommon.category);
5959
mainConfigManager.setFile(AxolotlClientCommon.resolveProfileConfigFile(AxolotlClientWaypointsCommon.MODID).resolve("options.json"));
60+
mainConfigManager.load();
6061
hud.profileReloader = new ProfileAware() {
6162
@Override
6263
public void saveConfig() {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ org.gradle.parallel=true
66
axolotlclient.modules.all=true
77

88
# Mod Properties
9-
version=0.0.1-beta.19+3.1.5
9+
version=0.0.1-beta.20+3.1.5
1010

1111
maven_group=io.github.axolotlclient.waypoints
1212

0 commit comments

Comments
 (0)