[Bleeding] Add getWorldType() and getGenerateStructures() methods to Bukkit and Server. Fixes BUKKIT-855

This commit is contained in:
Mike Primm
2012-03-10 01:27:38 -06:00
committed by EvilSeph
parent 37b6724aed
commit e0c3be1d9c
2 changed files with 22 additions and 0 deletions

View File

@@ -102,6 +102,14 @@ public final class Bukkit {
return server.getServerId();
}
public static String getWorldType() {
return server.getWorldType();
}
public static boolean getGenerateStructures() {
return server.getGenerateStructures();
}
public static boolean getAllowNether() {
return server.getAllowNether();
}