pahimar/Equivalent-Exchange-3 — pull request #365 by NilSet (2013-05-21 15:29:52+00:00)
Title: Fix for https://github.com/pahimar/Equivalent-Exchange-3/issues/348

Fix for https://github.com/pahimar/Equivalent-Exchange-3/issues/348

The Mystcraft writing desk apparently does not have an item registered with the same id as the block. This causes a null pointer exception to occur when you call getItemDamage() on the item stack made from hovering over the writing desk with a Minium stone.

Checking for a malformed item stack gets around this. To be honest it should probably be fixed on the Mystcraft end, but this does solve the issue.