Skip to content

Commit

Permalink
feat: reset burrow data when server resets it
Browse files Browse the repository at this point in the history
  • Loading branch information
My-Name-Is-Jeff committed May 15, 2024
1 parent 9cd31ab commit 205edae
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ object GriffinBurrows {
lastDugParticleBurrow = null
}
}
if (event.message.formattedText == "§r§6Poof! §r§eYou have cleared your griffin burrows!§r") {
particleBurrows.clear()
recentlyDugParticleBurrows.clear()
lastDugParticleBurrow = null
BurrowEstimation.guesses.clear()
BurrowEstimation.arrows.clear()
}
}

@SubscribeEvent
Expand Down

0 comments on commit 205edae

Please sign in to comment.