Skip to content

Commit

Permalink
Update protocolgame.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Luan Luciano authored Jan 18, 2024
1 parent 9393a9f commit 8785930
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/server/network/protocol/protocolgame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8785930

Please sign in to comment.