geforkt von Mirrors/Paper
Added method to shutdown the server
By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Ursprung
ee60cdeb0f
Commit
49a3d46b46
@ -215,4 +215,8 @@ public final class Bukkit {
|
||||
public static boolean getAllowFlight() {
|
||||
return server.getAllowFlight();
|
||||
}
|
||||
|
||||
public static void shutdown() {
|
||||
server.shutdown();
|
||||
}
|
||||
}
|
||||
|
@ -346,4 +346,9 @@ public interface Server {
|
||||
* @return Whether this server allows flying or not.
|
||||
*/
|
||||
public boolean getAllowFlight();
|
||||
|
||||
/**
|
||||
* Shutdowns the server, stopping everything.
|
||||
*/
|
||||
public void shutdown();
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren