BallOfEnergy 4bd6f0df53 More shit, also precompiled packets.
also holy shit the whitespace changes, intelliJ wanted to optimize the imports and refactored a ton of whitespace in the process.
2024-11-09 17:04:19 -06:00

33 lines
700 B
Java

package com.hbm.util;
import com.hbm.inventory.recipes.loader.SerializableRecipe;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.ICrashCallable;
public class CrashHelper {
public static void init() {
FMLCommonHandler.instance().registerCrashCallable(new CrashCallableRecipe());
}
public static class CrashCallableRecipe implements ICrashCallable {
@Override
public String getLabel() {
return "NTM Modified recipes:";
}
@Override
public String call() throws Exception {
String call = "";
for(SerializableRecipe rec : SerializableRecipe.recipeHandlers) {
if(rec.modified) call += "\n\t\t" + rec.getFileName();
}
return call;
}
}
}