Merge pull request #225 from MarcinSc/master

Suggested fix for issue 221
This commit is contained in:
cpw 2013-04-21 11:32:51 -07:00
commit d15889075c

View file

@ -221,7 +221,7 @@ public class GameRegistry
}
catch (NoSuchMethodException e)
{
itemCtor = itemclass.getConstructor(int.class, Block.class);
itemCtor = itemclass.getConstructor(int.class, net.minecraft.block.Block.class);
i = itemCtor.newInstance(blockItemId, block);
}
GameRegistry.registerItem(i,name, modId);