Skip to content

Commit 71fce2c

Browse files
committedApr 10, 2025·
Fix issues caused by backward compatibility
1 parent 3bc1a67 commit 71fce2c

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed
 

‎build.gradle

+1-12
Original file line numberDiff line numberDiff line change
@@ -153,18 +153,7 @@ modrinth {
153153
token = System.getenv("MODRINTH_TOKEN")
154154
projectId = "mod-remapping-api"
155155
changelog = """
156-
Dropped Fabric Loader 0.14 support.\\
157-
Improved mixin remapping by a lot.\\
158-
New v2 api featuring:
159-
- Remapping context based on a provided id, shareable by multiple mod remapper.
160-
- ModDiscovererConfigs allowing better mod candidate filtering, multiple can be provided.
161-
- MappingsConfig defining source Namespace, default package, custom mappings and namespace renames for the custom mappings.
162-
- RemappingFlags, available currently: mixins and access wideners.
163-
- Allow registering more ModRemappers dynamically.
164-
- CacheHandler system, allowing to get diverse file locations linked to a RemappingContext
165-
- v2 MappingUtils methods now also take the contextId as argument.
166-
- Access wideners remapping support.\\
167-
v0 and v1 apis are still supported but deprecated.
156+
Fix issues caused by backward compatibility
168157
"""
169158
uploadFile = remapJar
170159

‎gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ org.gradle.jvmargs=-Xmx1G
1111
spasm_version=0.2
1212

1313
# Mod Properties
14-
mod_version = 1.26.0
14+
mod_version = 1.26.1
1515
maven_group = io.github.fabriccompatibiltylayers
1616
archives_base_name = mod-remapping-api

‎src/main/java/io/github/fabriccompatibilitylayers/modremappingapi/impl/compatibility/v1/ModRemapperV1Context.java

+2
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ public void gatherRemappers() {
221221
.forEach(remappers::add);
222222

223223
remappers.addAll(FabricLoader.getInstance().getEntrypoints(v1EntrypointName, ModRemapper.class));
224+
225+
if (remappers.size() == 1) remappers.clear();
224226
}
225227

226228
@Override

0 commit comments

Comments
 (0)
Please sign in to comment.