Add isHardcore API to check if the server is in hardcore mode or not. Adds BUKKIT-2707

This commit is contained in:
EvilSeph
2012-10-29 01:45:08 -04:00
parent d5d1b41c02
commit aedafb9acd
2 changed files with 11 additions and 0 deletions

View File

@@ -243,6 +243,10 @@ public final class Bukkit {
return server.getAllowFlight();
}
public static boolean isHardcore() {
return server.isHardcore();
}
public static void shutdown() {
server.shutdown();
}