Fixed mithril grapples to only take 1 bolt instead of entire stack

This commit is contained in:
DebbySaurus 2022-10-15 11:21:02 +00:00 committed by Ryan
parent 4fc8c0ac23
commit 06f64564d8

View file

@ -99,7 +99,7 @@ class FletchingListeners : InteractionListener {
player.sendMessage("You need a fletching level of 59 to make this.")
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))
}
return@onUseWith true