forked from 2009Scape/Server
Slight farming bugfix
This commit is contained in:
parent
484bf31c90
commit
c1bc766c98
1 changed files with 3 additions and 0 deletions
|
|
@ -76,6 +76,9 @@ class CropHarvester : OptionHandler() {
|
|||
)
|
||||
} else {
|
||||
patch.harvestAmt--
|
||||
if(patch.harvestAmt <= 0){
|
||||
patch.clear()
|
||||
}
|
||||
}
|
||||
return patch.cropLives <= 0 || patch.harvestAmt <= 0
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue