From b33517632e2caaead3726a9771f33419ae004066 Mon Sep 17 00:00:00 2001 From: ipkpjersi Date: Wed, 31 Jan 2024 00:12:43 +0000 Subject: [PATCH] Fixed fish caught statistic not saving --- .../content/global/skill/gather/fishing/FishingListener.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/src/main/content/global/skill/gather/fishing/FishingListener.kt b/Server/src/main/content/global/skill/gather/fishing/FishingListener.kt index bf6309c71..1cad8a28d 100644 --- a/Server/src/main/content/global/skill/gather/fishing/FishingListener.kt +++ b/Server/src/main/content/global/skill/gather/fishing/FishingListener.kt @@ -103,10 +103,10 @@ class FishingListener : InteractionListener{ if (isActive(SkillcapePerks.GREAT_AIM, player) && RandomFunction.roll(20)) { addItemOrDrop(player, item.id, item.amount) sendMessage(player, colorize("%RYour expert aim catches you a second fish.")) - player.incrementAttribute("$STATS_BASE:$STATS_FISH") + player.incrementAttribute("/save:$STATS_BASE:$STATS_FISH") } - player.incrementAttribute("$STATS_BASE:$STATS_FISH") + player.incrementAttribute("/save:$STATS_BASE:$STATS_FISH") var xp = fish.experience if ((item.id == Items.RAW_SWORDFISH_371 && inEquipment(player, Items.SWORDFISH_GLOVES_12860)) || (item.id == Items.RAW_SHARK_383 && inEquipment(player, Items.SHARK_GLOVES_12861))) {