Presents

Presents

38.6k Downloads

Crashes on server with java.lang.NoClassDefFoundError: net/minecraft/client/renderer/color/IBlockColor

Barteks2x opened this issue ยท 3 comments

commented

I didn't try this mod myself, but I've seen someone run into this issue on discord, and verified that there is in fact an issue in the code:

public void init(FMLInitializationEvent event) {
Minecraft.getMinecraft().getBlockColors().registerBlockColorHandler(new BlockColorHandler(), PRESENT_BLOCK, EMPTY_PRESENT_BLOCK);
Minecraft.getMinecraft().getItemColors().registerItemColorHandler(new ItemColorHandler(), PRESENT_BLOCK, EMPTY_PRESENT_BLOCK);
}

commented

https://pastebin.com/yph3bNyR

That was probably me who posted about the error.

commented
commented

I'm sorry I didn't see this sooner, I have been quite busy the past few days and for some reason didn't get notified. I've fixed the issue and will bring out a patch very soon