Update Forge version.
Account for the random inexplicable non-existence of FMLRenderAccessLibrary
This commit is contained in:
parent
1580d968ec
commit
797308f587
2 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
minecraft_version=1.7.10
|
minecraft_version=1.7.10
|
||||||
forge_version=10.13.2.1277
|
forge_version=10.13.2.1291
|
||||||
FMP_version=1.1.1.320
|
FMP_version=1.1.1.320
|
||||||
CCLIB_version=1.1.1.110
|
CCLIB_version=1.1.1.110
|
||||||
NEI_version=1.0.4.83
|
NEI_version=1.0.4.83
|
||||||
|
|
|
@ -67,6 +67,7 @@ import net.minecraftforge.fluids.Fluid;
|
||||||
|
|
||||||
import org.lwjgl.opengl.GL11;
|
import org.lwjgl.opengl.GL11;
|
||||||
|
|
||||||
|
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||||
import cpw.mods.fml.relauncher.Side;
|
import cpw.mods.fml.relauncher.Side;
|
||||||
import cpw.mods.fml.relauncher.SideOnly;
|
import cpw.mods.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
|
@ -491,11 +492,11 @@ public class ItemRenderingHandler implements IItemRenderer
|
||||||
else {
|
else {
|
||||||
if(item.getItem() instanceof ItemBlockMachine)
|
if(item.getItem() instanceof ItemBlockMachine)
|
||||||
{
|
{
|
||||||
FMLRenderAccessLibrary.renderInventoryBlock((RenderBlocks)data[0], Block.getBlockFromItem(item.getItem()), item.getItemDamage(), ClientProxy.MACHINE_RENDER_ID);
|
RenderingRegistry.instance().renderInventoryBlock((RenderBlocks)data[0], Block.getBlockFromItem(item.getItem()), item.getItemDamage(), ClientProxy.MACHINE_RENDER_ID);
|
||||||
}
|
}
|
||||||
else if(item.getItem() instanceof ItemBlockBasic)
|
else if(item.getItem() instanceof ItemBlockBasic)
|
||||||
{
|
{
|
||||||
FMLRenderAccessLibrary.renderInventoryBlock((RenderBlocks)data[0], Block.getBlockFromItem(item.getItem()), item.getItemDamage(), ClientProxy.BASIC_RENDER_ID);
|
RenderingRegistry.instance().renderInventoryBlock((RenderBlocks)data[0], Block.getBlockFromItem(item.getItem()), item.getItemDamage(), ClientProxy.BASIC_RENDER_ID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue