Fix depreciated GameReistry.registerBlock method