Fix ForgeDev's test runs not working due to dead test mod (#10483)

This commit is contained in:
Jonathing authored and GitHub committed 2025-03-04 13:53:12 -08:00
1 parent 8f074e1da1
commit 4cd832fc4d
1 file changed
+14 -14
@@ -3,17 +3,17 @@
* SPDX-License-Identifier: LGPL-2.1-only
*/
package net.minecraftforge.debug;
import net.minecraftforge.fml.common.Mod;
/**
* Test that the mod loading error screen shows the cause of the crash when a mod constructor throws an exception.
* <p>Enable or disable this test in the mods.toml</p>
*/
@Mod("constructor_throw_test")
public class ConstructorThrowTest {
public ConstructorThrowTest() {
throw new RuntimeException("Test");
}
}
//package net.minecraftforge.debug;
//
//import net.minecraftforge.fml.common.Mod;
//
///**
// * Test that the mod loading error screen shows the cause of the crash when a mod constructor throws an exception.
// * <p>Enable or disable this test in the mods.toml</p>
// */
//@Mod("constructor_throw_test")
//public class ConstructorThrowTest {
// public ConstructorThrowTest() {
// throw new RuntimeException("Test");
// }
//}