Initial commit

This commit is contained in:
NOTPIES
2026-03-15 22:25:51 -03:00
commit c356c7b911
100 changed files with 8788 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#include "stdafx.h"
#include "SaveOffCommand.h"
#include "ServerCommand.h"
#include "../../Minecraft.Client/MinecraftServer.h"
#include "../../Minecraft.Client/ConsoleInputSource.h"
#include "../../Minecraft.Client/ServerLevel.h"
void SaveOffCommand::execute(const wstring& args, ConsoleInputSource *src, MinecraftServer *server)
{
for (unsigned int i = 0; i < server->levels.length; i++)
{
ServerLevel *level = server->levels[i];
if (level)
level->noSave = true;
}
ServerCommand::notifyAdmins(src, server, L"Turned off world auto-saving");
}