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

By: Mike Primm <mike@primmhome.com>
This commit is contained in:
Bukkit/Spigot
2012-03-10 01:27:38 -06:00
parent b891ec330b
commit a4ec97483e
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();
}