mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 08:40:03 +00:00
Fix to allow multiple prayers.
Fixed not caching enum values.
This commit is contained in:
committed by
Gary Tierney
parent
94783da9e5
commit
1c0b1d827f
@@ -17,7 +17,6 @@ on { ButtonMessage::class }
|
||||
.then {
|
||||
val prayer = Prayer.findByButton(widgetId) ?: return@then
|
||||
if (prayer.level > it.prayer.current) {
|
||||
updatePrayer(it,null)
|
||||
terminate();
|
||||
return@then
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user