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

Already on GitHub? Sign in to your account

Use of deprecated function #1

Closed
Drumm- opened this Issue Dec 31, 2012 · 2 comments

Comments

Projects
None yet
3 participants

Drumm- commented Dec 31, 2012

I was following the tutorial, and apparently

GameRegistry.registerBlock(genericDirt);

is now deprecated, could the code and tutorials be updated to use the newer functions? (Whatever they may be)

Yes; should become:

GameRegistry.registerBlock(genericDirt, "genericDirt");

All that needs to be added is the comma and String parameter, and all is good.

Owner

Havvy commented Jan 24, 2013

Fixed awhile ago.

@Havvy Havvy closed this Jan 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment