Fix up addRenderer to catch exceptions from the basemod, also, addrenderer now supplies a list of the

default renderers from MC for editing and will note the changes made.
This commit is contained in:
Christian committed 2012-08-31 11:18:17 -04:00
1 parent 18069d8fd2
commit c90a853377
2 files changed
+39 -5

No files matched your search

+1 -1
View File
@@ -20,6 +20,7 @@ import java.util.Random;
import net.minecraft.client.Minecraft;
import net.minecraft.server.MinecraftServer;
import cpw.mods.fml.client.FMLClientHandler;
import cpw.mods.fml.common.FMLLog;
import cpw.mods.fml.common.TickType;
import cpw.mods.fml.common.asm.SideOnly;
@@ -180,7 +181,6 @@ public abstract class BaseMod implements cpw.mods.fml.common.modloader.BaseModPr
@SideOnly(CLIENT)
public void addRenderer(Map<Class<? extends Entity>, Render> renderers)
{
}
/**