Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GameRegistry error on ModuleVanilla.java #23

Open
Plocatel opened this issue Aug 3, 2014 · 0 comments
Open

GameRegistry error on ModuleVanilla.java #23

Plocatel opened this issue Aug 3, 2014 · 0 comments

Comments

@Plocatel
Copy link

Plocatel commented Aug 3, 2014

Hello I was just looking the source of your (awesome) mod for minecraft and
on the file "src/iguanaman/hungeroverhaul/ModuleVanilla.java" at line 41->43 there is :

Block.blocksList[Block.carrot.blockID] = null;
carrotNew = new IguanaCropVegetable(141, "carrots").setCropItem(Item.carrot.itemID).setSeedItem(Item.carrot.itemID).setUnlocalizedName("carrots").setTextureName("carrots");
GameRegistry.registerBlock(reedNew, ItemBlock.class, null);

And I think the GameRegistry line should normally be :

GameRegistry.registerBlock(carrotNew , ItemBlock.class, null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant