mirror of
https://github.com/GTNewHorizons/DummyCore.git
synced 2026-11-27 15:33:26 +00:00
[2.0]Added: DummyCore will print known big ASM modifiers at the crashreport
This commit is contained in:
1 parent
c84e1b596d
commit
4778aee9ca
1 file changed
+29
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user