diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 2cd7d0d1..33bdc122 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -946,6 +946,10 @@ public final class CraftServer implements Server { return console.getAllowFlight(); } + public boolean isHardcore() { + return console.isHardcore(); + } + public boolean useExactLoginLocation() { return configuration.getBoolean("settings.use-exact-login-location"); } |