mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 00:07:45 +00:00
Fix ForgeDev's test runs not working due to dead test mod (#10483)
This commit is contained in:
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");
|
||||
// }
|
||||
//}
|
||||
Reference in new issue
Block a user