1
0

another corner case with root using "Gather"

This commit is contained in:
Emagi 2025-05-06 19:05:09 -04:00
parent 65f53f77b7
commit c57624079b

View File

@ -564,7 +564,8 @@ void GroundSpawn::HandleUse(Client* client, string type){
} }
MHarvestUse.lock(); MHarvestUse.lock();
if((type == "" || type == "collect") && client->GetVersion() <= 561) std::string typeLwr = ToLower(type);
if((typeLwr == "" || typeLwr == "collect" || typeLwr == "gather") && client->GetVersion() <= 561)
type = GetHarvestSpellType(); type = GetHarvestSpellType();
if (type == GetHarvestSpellType() && MeetsSpawnAccessRequirements(client->GetPlayer())) { if (type == GetHarvestSpellType() && MeetsSpawnAccessRequirements(client->GetPlayer())) {