Additionally check if older clients send "collect" for type as that is not the harvest type either
This commit is contained in:
parent
13e10b315d
commit
65f53f77b7
@ -564,7 +564,7 @@ void GroundSpawn::HandleUse(Client* client, string type){
|
|||||||
}
|
}
|
||||||
|
|
||||||
MHarvestUse.lock();
|
MHarvestUse.lock();
|
||||||
if(type == "" && client->GetVersion() <= 561)
|
if((type == "" || type == "collect") && client->GetVersion() <= 561)
|
||||||
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