mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Reset nextGrowth on clear patch
This commit is contained in:
parent
e995254b2c
commit
d671bf5070
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