diff --git a/src/server/network/protocol/protocolgame.cpp b/src/server/network/protocol/protocolgame.cpp index 84c76f553af..06c9e56eaa6 100644 --- a/src/server/network/protocol/protocolgame.cpp +++ b/src/server/network/protocol/protocolgame.cpp @@ -8579,7 +8579,8 @@ void ProtocolGame::parseSaveWheel(NetworkMessage &msg) { addGameTask(&Game::playerSaveWheel, player->getID(), msg); } -void ProtocolGame::takeScreenshot(uint8_t screenshotType) { +void ProtocolGame::sendTakeScreenshot(uint8_t screenshotType) { + if (screenshotType == Screenshot_t:None || oldProtocol) { if (!player || oldProtocol) { return; }