Enable ShowCodeDetailsInExceptionMessages (Better null pointers) for all run configs
				
					
				
			This commit is contained in:
		
							parent
							
								
									fc3a5ef052
								
							
						
					
					
						commit
						63bf3aaaa4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -116,7 +116,7 @@ public class RunConfig { | ||||||
| 			runConfig.programArgs += "--tweakClass " + ("client".equals(environment) ? Constants.LaunchWrapper.DEFAULT_FABRIC_CLIENT_TWEAKER : Constants.LaunchWrapper.DEFAULT_FABRIC_SERVER_TWEAKER); | 			runConfig.programArgs += "--tweakClass " + ("client".equals(environment) ? Constants.LaunchWrapper.DEFAULT_FABRIC_CLIENT_TWEAKER : Constants.LaunchWrapper.DEFAULT_FABRIC_SERVER_TWEAKER); | ||||||
| 		} else { | 		} else { | ||||||
| 			runConfig.mainClass = "net.fabricmc.devlaunchinjector.Main"; | 			runConfig.mainClass = "net.fabricmc.devlaunchinjector.Main"; | ||||||
| 			runConfig.vmArgs = "-Dfabric.dli.config=" + encodeEscaped(extension.getDevLauncherConfig().getAbsolutePath()) + " -Dfabric.dli.env=" + environment.toLowerCase(); | 			runConfig.vmArgs = "-XX:+ShowCodeDetailsInExceptionMessages -Dfabric.dli.config=" + encodeEscaped(extension.getDevLauncherConfig().getAbsolutePath()) + " -Dfabric.dli.env=" + environment.toLowerCase(); | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		if (extension.getLoaderLaunchMethod().equals("launchwrapper")) { | 		if (extension.getLoaderLaunchMethod().equals("launchwrapper")) { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue