Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
Add isHardcore API to check if the server is in hardcore mode or not. Adds BUKKIT-2707
Dieser Commit ist enthalten in:
Ursprung
442b7a69f1
Commit
f4cdf8fe98
@ -946,6 +946,10 @@ public final class CraftServer implements Server {
|
|||||||
return console.getAllowFlight();
|
return console.getAllowFlight();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isHardcore() {
|
||||||
|
return console.isHardcore();
|
||||||
|
}
|
||||||
|
|
||||||
public boolean useExactLoginLocation() {
|
public boolean useExactLoginLocation() {
|
||||||
return configuration.getBoolean("settings.use-exact-login-location");
|
return configuration.getBoolean("settings.use-exact-login-location");
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren