mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 16:49:04 +00:00
Add explicit stop() to async actions
This commit is contained in:
@@ -31,6 +31,7 @@ class ConsumeAction(val consumable: Consumable, player: Player, val slot: Int) :
|
||||
consumable.consume(mob, slot)
|
||||
mob.playAnimation(Animation(CONSUME_ANIMATION_ID))
|
||||
wait(consumable.delay)
|
||||
stop()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user