Fixed mithril grapples to only take 1 bolt instead of entire stack
This commit is contained in:
@@ -99,7 +99,7 @@ class FletchingListeners : InteractionListener {
|
|||||||
player.sendMessage("You need a fletching level of 59 to make this.")
|
player.sendMessage("You need a fletching level of 59 to make this.")
|
||||||
return@onUseWith true
|
return@onUseWith true
|
||||||
}
|
}
|
||||||
if(player.inventory.remove(bolt.asItem(),tip.asItem())){
|
if(player.inventory.remove(Item(MITHRIL_BOLT,1),tip.asItem())){
|
||||||
player.inventory.add(Item(MITH_GRAPPLE))
|
player.inventory.add(Item(MITH_GRAPPLE))
|
||||||
}
|
}
|
||||||
return@onUseWith true
|
return@onUseWith true
|
||||||
|
|||||||
Reference in New Issue
Block a user