Merge pull request #225 from MarcinSc/master
Suggested fix for issue 221
This commit is contained in:
commit
d15889075c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue