mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-01 14:39:13 -06:00
improved silver smelting (with moulds) pulse handling
This commit is contained in:
parent
6024e47512
commit
b2c5f62303
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ class SilverInterface : InterfaceListener() {
|
|||
fun make(player: Player, product: SilverProduct, amount: Int){
|
||||
var amt = amount
|
||||
closeInterface(player)
|
||||
submitWorldPulse(object : Pulse(){
|
||||
submitIndividualPulse(player, object : Pulse(){
|
||||
override fun pulse(): Boolean {
|
||||
if(amt < 1) return true
|
||||
if(!inInventory(player, product.needed) || !inInventory(player, Items.SILVER_BAR_2355)) return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue