Added method to shutdown the server

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-09-02 20:18:10 +01:00
parent ee60cdeb0f
commit 49a3d46b46
2 changed files with 9 additions and 0 deletions

View File

@@ -215,4 +215,8 @@ public final class Bukkit {
public static boolean getAllowFlight() {
return server.getAllowFlight();
}
public static void shutdown() {
server.shutdown();
}
}