mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LCEMP-Server.git
synced 2026-05-22 20:05:28 +00:00
13 lines
381 B
C++
13 lines
381 B
C++
#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();
|
|
}
|