chop added also to the type list since it seems to be hit or miss if the client is sending it
This commit is contained in:
parent
c57624079b
commit
0adc6f0e04
@ -565,7 +565,7 @@ void GroundSpawn::HandleUse(Client* client, string type){
|
|||||||
|
|
||||||
MHarvestUse.lock();
|
MHarvestUse.lock();
|
||||||
std::string typeLwr = ToLower(type);
|
std::string typeLwr = ToLower(type);
|
||||||
if((typeLwr == "" || typeLwr == "collect" || typeLwr == "gather") && client->GetVersion() <= 561)
|
if(client->GetVersion() <= 561 && (typeLwr == "" || typeLwr == "collect" || typeLwr == "gather" || typeLwr == "chop"))
|
||||||
type = GetHarvestSpellType();
|
type = GetHarvestSpellType();
|
||||||
|
|
||||||
if (type == GetHarvestSpellType() && MeetsSpawnAccessRequirements(client->GetPlayer())) {
|
if (type == GetHarvestSpellType() && MeetsSpawnAccessRequirements(client->GetPlayer())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user