Skip to content

Commit 205edae

Browse files
feat: reset burrow data when server resets it
1 parent 9cd31ab commit 205edae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/kotlin/gg/skytils/skytilsmod/features/impl/events/GriffinBurrows.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ object GriffinBurrows {
104104
lastDugParticleBurrow = null
105105
}
106106
}
107+
if (event.message.formattedText == "§r§6Poof! §r§eYou have cleared your griffin burrows!§r") {
108+
particleBurrows.clear()
109+
recentlyDugParticleBurrows.clear()
110+
lastDugParticleBurrow = null
111+
BurrowEstimation.guesses.clear()
112+
BurrowEstimation.arrows.clear()
113+
}
107114
}
108115

109116
@SubscribeEvent

0 commit comments

Comments
 (0)