Update WorldGen.java

Updated for 1.8 Spigot