forked from 2009Scape/Server
Merge branch 'weeds-bug-fix' into 'master'
Reset nextGrowth on farming patch clear See merge request 2009scape/2009scape!297
This commit is contained in:
commit
ad47918155
1 changed files with 1 additions and 0 deletions
|
|
@ -282,6 +282,7 @@ class Patch(val player: Player, val patch: FarmingPatch, var plantable: Plantabl
|
|||
isDead = false
|
||||
plantable = null
|
||||
player.varpManager.get(patch.varpIndex).clearBitRange(patch.varpOffset,patch.varpOffset + 7)
|
||||
nextGrowth = 0L
|
||||
currentGrowthStage = 3
|
||||
setCurrentState(3)
|
||||
compost = CompostType.NONE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue