From 952419804437b27787742d2309f59cced5ce7ce1 Mon Sep 17 00:00:00 2001 From: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> Date: Sun, 29 Jun 2025 14:23:11 -0700 Subject: [PATCH] Update DEVGMCommands.cpp (#1840) --- dGame/dUtilities/SlashCommands/DEVGMCommands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dGame/dUtilities/SlashCommands/DEVGMCommands.cpp b/dGame/dUtilities/SlashCommands/DEVGMCommands.cpp index be2b80be..264e9373 100644 --- a/dGame/dUtilities/SlashCommands/DEVGMCommands.cpp +++ b/dGame/dUtilities/SlashCommands/DEVGMCommands.cpp @@ -1640,7 +1640,7 @@ namespace DEVGMCommands { for (auto* const player : PlayerManager::GetAllPlayers()) { auto* const pCharacterComponent = player->GetComponent(); - if (pCharacterComponent) pCharacterComponent->SetPvpEnabled(args == "start"); + if (pCharacterComponent) pCharacterComponent->SetPvpEnabled(true); Game::entityManager->SerializeEntity(player); } const auto msg = u"Pvp has been turned on for all players by " + GeneralUtils::ASCIIToUTF16(characterComponent->GetName());