mirror of
https://github.com/edubart/otclient.git
synced 2025-12-22 16:27:10 +01:00
Fix 7.6 protocol issue / Typo
This commit is contained in:
@@ -1229,7 +1229,7 @@ void Game::setPVPMode(Otc::PVPModes pvpMode)
|
||||
{
|
||||
if(!canPerformGameAction())
|
||||
return;
|
||||
if(!g_game.getFeature(Otc::GameFeature::PVPModes))
|
||||
if(!getFeature(Otc::GamePVPMode))
|
||||
return;
|
||||
if(m_pvpMode == pvpMode)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user