mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 06:32:17 -07:00
Add isHardcore API to check if the server is in hardcore mode or not. Adds BUKKIT-2707
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
@@ -243,6 +243,10 @@ public final class Bukkit {
|
||||
return server.getAllowFlight();
|
||||
}
|
||||
|
||||
public static boolean isHardcore() {
|
||||
return server.isHardcore();
|
||||
}
|
||||
|
||||
public static void shutdown() {
|
||||
server.shutdown();
|
||||
}
|
||||
|
Reference in New Issue
Block a user