Merge branch 'fix-slayer-task-cancel' into 'master'

Spending points to cancel your slayer task no longer sets your task streak to 0.

See merge request 2009scape/2009scape!346
This commit is contained in:
Ceikry
2021-12-09 03:11:37 +00:00
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -67,4 +67,5 @@
- Added Christmas Event :)
- Added snow toggle to client config
< --- ABOVE Released December 4, 2021 https://gitlab.com/2009scape/2009scape/-/tags/Dec-4-2021 ---- >
- Shooting star discovery bonus xp is now gradually disbursed instead of lump-sump.
- Shooting star discovery bonus xp is now gradually disbursed instead of lump-sum.
- Spending points to cancel your slayer task no longer sets your task streak to 0.
@@ -66,7 +66,6 @@ public class SlayerRewardPlugin extends ComponentPlugin {
}
if (purchase(player, 30)) {
player.getSlayer().clear();
player.getSlayer().setTaskCount(0);
player.sendMessage("You have canceled your current task.");
}
break;