Added method to shutdown the server
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
ee60cdeb0f
commit
49a3d46b46
2 changed files with 9 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue