Skip to content

Commit 4ea8954

Browse files
committed
Dont sort custom packtype listeners
Fixes #180
1 parent 1af6e62 commit 4ea8954

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fabric-resource-loader-v0/src/main/java/net/fabricmc/fabric/impl/resource/loader/ResourceManagerHelperImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public PackResources openFull(PackLocationInfo var1, Pack.Metadata metadata) {
165165
}
166166

167167
public static List<PreparableReloadListener> sort(PackType type, List<PreparableReloadListener> listeners) {
168-
if (type == null) {
168+
if (type != PackType.SERVER_DATA && type != PackType.CLIENT_RESOURCES) {
169169
return listeners;
170170
}
171171

ffapi.gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
loom.platform=neoforge
22
fabric.loom.dontRemap=true
33

4-
implementationVersion=2.0.21
4+
implementationVersion=2.0.22
55

66
versionMc=1.21.1
77
versionForge=21.1.57

0 commit comments

Comments
 (0)