From 8785930c6e230d515792d135aa97525ad956a31e Mon Sep 17 00:00:00 2001 From: Luan Luciano Date: Thu, 18 Jan 2024 03:36:08 -0300 Subject: [PATCH] Update protocolgame.cpp --- src/server/network/protocol/protocolgame.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/server/network/protocol/protocolgame.cpp b/src/server/network/protocol/protocolgame.cpp index c6206945a92..d8390e98255 100644 --- a/src/server/network/protocol/protocolgame.cpp +++ b/src/server/network/protocol/protocolgame.cpp @@ -8580,9 +8580,7 @@ void ProtocolGame::parseSaveWheel(NetworkMessage &msg) { } void ProtocolGame::sendTakeScreenshot(uint8_t screenshotType) { - if (screenshotType == Screenshot_t - : None || oldProtocol) { - if (!player || oldProtocol) { + if (screenshotType == Screenshot_t: None || oldProtocol) { return; }