Update to latest Multiverse-Core version 

Update from 2.4 to 2.5 multiverse-core version
Check your ide , the lib change can break your build

The API provide a function to get the generator

Xephi