Implemented a loot message for the reward from Fishing trawler

Optimised junk item removal from Fishing trawler loot
This commit is contained in:
RiL
2023-03-26 03:52:13 +00:00
committed by Ryan
parent 3c2b852473
commit ffb7486a01
3 changed files with 42 additions and 23 deletions
@@ -422,7 +422,7 @@ class MiscCommandSet : CommandSet(Privilege.ADMIN){
} else {
args[1].toString().toInt()
}
player.bank.add(*TrawlerLoot.getLoot(player.skills.getLevel(Skills.FISHING), rolls, false).toTypedArray())
TrawlerLoot.addLootAndMessage(player, player.skills.getLevel(Skills.FISHING), rolls, false)
}
define("fillbank", Privilege.ADMIN, "", "Right as it says on the tin."){player,_ ->