File tree Expand file tree Collapse file tree
src/main/java/org/quiltmc/loader/impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ group = org.quiltmc
55description = The mod loading component of Quilt
66url = https://github.com/quiltmc/quilt-loader
77# Don't forget to change this in QuiltLoaderImpl as well
8- quilt_loader = 0.30.0-beta.2
8+ quilt_loader = 0.30.0-beta.3
99
1010# Fabric & Quilt Libraries
1111asm = 9.9
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ public final class QuiltLoaderImpl {
131131
132132 public static final int ASM_VERSION = Opcodes .ASM9 ;
133133
134- public static final String VERSION = "0.30.0-beta.2 " ;
134+ public static final String VERSION = "0.30.0-beta.3 " ;
135135 public static final String MOD_ID = "quilt_loader" ;
136136 public static final String DEFAULT_MODS_DIR = "mods" ;
137137 public static final String DEFAULT_CACHE_DIR = ".cache" ;
Original file line number Diff line number Diff line change @@ -87,20 +87,22 @@ final class RuntimeModRemapper {
8787 return ;
8888 }
8989
90- boolean mojmapEnvironment = "mojang" .equals (mappingConfiguration .getTargetNamespace ());
90+ String targetNamespace = mappingConfiguration .getTargetNamespace ();
91+ boolean mojmapEnvironment = "mojang" .equals (targetNamespace );
9192
9293 for (ModLoadOption mod : mods ) {
9394 String namespace = mod .namespaceMappingFrom ();
95+ if (namespace == null || namespace .equals (targetNamespace )) {
96+ continue ;
97+ }
9498 if ("mojang" .equals (namespace )) {
9599 if (mojmapEnvironment ) {
96100 break ;
97101 }
98102
99103 throw new UnsupportedOperationException ("Cannot remap mojang mods to another environment!" );
100104 }
101- if (namespace != null ) {
102- modsToRemap .add (mod );
103- }
105+ modsToRemap .add (mod );
104106 }
105107 }
106108
You can’t perform that action at this time.
0 commit comments