I've recently followed a tutorial which shows how to create a custom furnace in Minecraft 1.7.X. It looks good until I right-click on the block itself and the game crashes. Even on another , newer, computer the game crashes. I've researched this error but I can't seem to fix the problem.
Here is the code of the class where the error happens.
The line where the error occurs is:
FMLNetworkHandler.openGui(player, MainRegistry.instance, MainRegistry.guiIDredOven, world, x, y, z);
Here is the log as well:
If anyone needs anymore of the mod's class files then I'll post them. Thanks in advance.