Skip to content

Commit ecf928c

Browse files
committed
fix: clear loaded names on reload
1 parent f199f82 commit ecf928c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ dependencies {
4141
// Fabric API. This is technically optional, but you probably want it anyway.
4242
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
4343

44-
modImplementation(include("io.github.axolotlclient:AxolotlClient-config:3.0.8+1.21.6"))
45-
modImplementation("io.github.axolotlclient.AxolotlClient-config:AxolotlClientConfig-common:3.0.8")
44+
modImplementation(include("io.github.axolotlclient:AxolotlClient-config:3.0.9+1.21.6"))
45+
modImplementation("io.github.axolotlclient.AxolotlClient-config:AxolotlClientConfig-common:3.0.9")
4646

4747
//modLocalRuntime("com.terraformersmc:modmenu:14.0.0-rc.2")
4848

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ parchment=2025.06.15
1010
loader_version=0.16.14
1111

1212
# Mod Properties
13-
mod_version=1.1.0
13+
mod_version=1.1.1
1414
maven_group=io.github.moehreag
1515
archives_base_name=random-world-names
1616

src/main/java/io/github/moehreag/randomworldnames/RandomWorldNames.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ public CompletableFuture<List<String>> load(ResourceManager resourceManager, Exe
111111
@Override
112112
public CompletableFuture<Void> apply(List<String> o, ResourceManager resourceManager, Executor executor) {
113113
return CompletableFuture.runAsync(() -> {
114+
worldNames.clear();
114115
worldNames.addAll(o);
115116
log.info("Loaded {} names for random world names!", o.size());
116117
}, executor);

0 commit comments

Comments
 (0)