mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-25 12:14:34 +00:00
New File System and Cleanup some code Part 3
* Remove stdafx.h and some <unordered_set> includes * Update Minecraft Server Defines and remove more unused folders/files * Unbloat stdafx.h from Minecraft.World
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#include "stdafx.h"
|
||||
#include "PlayerConnection.h"
|
||||
#include "ServerPlayer.h"
|
||||
#include "ServerLevel.h"
|
||||
@@ -155,7 +154,7 @@ void PlayerConnection::disconnect(DisconnectPacket::eDisconnectReason reason)
|
||||
return;
|
||||
}
|
||||
|
||||
#if defined(_WINDOWS64) && defined(MINECRAFT_SERVER_BUILD)
|
||||
#ifdef MINECRAFT_SERVER_BUILD
|
||||
ServerRuntime::ServerLogManager::OnPlayerDisconnected(
|
||||
getLogSmallId(),
|
||||
(player != nullptr) ? player->name : std::wstring(),
|
||||
@@ -590,7 +589,7 @@ void PlayerConnection::onDisconnect(DisconnectPacket::eDisconnectReason reason,
|
||||
LeaveCriticalSection(&done_cs);
|
||||
return;
|
||||
}
|
||||
#if defined(_WINDOWS64) && defined(MINECRAFT_SERVER_BUILD)
|
||||
#ifdef MINECRAFT_SERVER_BUILD
|
||||
ServerRuntime::ServerLogManager::OnPlayerDisconnected(
|
||||
getLogSmallId(),
|
||||
(player != nullptr) ? player->name : std::wstring(),
|
||||
|
||||
Reference in New Issue
Block a user