Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include "stdafx.h"
|
||||
#include "StopCommand.h"
|
||||
#include "ServerCommand.h"
|
||||
|
||||
#include "../../Minecraft.Client/MinecraftServer.h"
|
||||
#include "../../Minecraft.Client/ConsoleInputSource.h"
|
||||
|
||||
void StopCommand::execute(const wstring& args, ConsoleInputSource *src, MinecraftServer *server)
|
||||
{
|
||||
ServerCommand::notifyAdmins(src, server, L"Stopping the server");
|
||||
MinecraftServer::HaltServer();
|
||||
}
|
||||
Reference in New Issue
Block a user