Fix make-all option for using the pestle and mortar on herblore secondaries

This commit is contained in:
Avi Weinstock
2022-02-26 06:42:05 +00:00
committed by Ryan
parent b6457acd15
commit e754803f5a
@@ -57,6 +57,11 @@ class GrindItemPlugin : UseWithHandler(233) {
return amt <= 0
}
})
}
override fun getAll(index: Int): Int {
return player.inventory.getAmount(event.usedItem)
}
}
handler.open()
@@ -70,4 +75,4 @@ class GrindItemPlugin : UseWithHandler(233) {
*/
private val ANIMATION = Animation(364)
}
}
}