mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 08:44:25 +00:00
Merge pull request #225 from MarcinSc/master
Suggested fix for issue 221
This commit is contained in:
commit
c3fda11d10
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user