improved server stop handling
This commit is contained in:
		@@ -397,10 +397,8 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener {
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * Handle Server Stop Callback
 | 
			
		||||
	 *
 | 
			
		||||
	 * @param array $callback
 | 
			
		||||
	 */
 | 
			
		||||
	public function handleServerStopCallback(array $callback) {
 | 
			
		||||
	public function handleServerStopCallback() {
 | 
			
		||||
		$this->quit('The Server has been shut down!');
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user