[2.0]Added: DummyCore will print known big ASM modifiers at the crashreport

This commit is contained in:
Modbder committed 2015-09-14 14:25:14 +03:00
1 parent c84e1b596d
commit 4778aee9ca
1 file changed
+29
+29
View File
@@ -0,0 +1,29 @@
package DummyCore.Core;
import DummyCore.Utils.LoadingUtils;
import cpw.mods.fml.common.ICrashCallable;
public class DCCrashCallable implements ICrashCallable {
@Override
public String call() throws Exception {
return "'Special case ASM modification mods: '" +
"'Note, that this mods might not be involved in the crash in ANY WAY!'" +
"'DummyCore just prints some known mods for a lot of ASM modifications'" +
computeASMIfiers();
}
@Override
public String getLabel() {
return "[DummyCore]";
}
public String computeASMIfiers()
{
String retStr="";
for(String s : LoadingUtils.knownBigASMModifiers)
retStr += "'"+s+"'";
return retStr;
}
}