Skip to content

Commit

Permalink
Make CONSUME task type only progress by one, instead of the item amount
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSzabo committed Nov 25, 2024
1 parent 7de8fbf commit 6386939
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ plugins {
}

group = "gg.auroramc"
version = "1.3.7"
version = "1.3.8"

repositories {
flatDir {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ public void onPlayerItemConsume(PlayerItemConsumeEvent event) {
ItemStack item = event.getItem();

AuroraQuests.getInstance().getQuestManager()
.progress(player, TaskType.CONSUME, item.getAmount(), Map.of("type", AuroraAPI.getItemManager().resolveId(item)));
.progress(player, TaskType.CONSUME, 1, Map.of("type", AuroraAPI.getItemManager().resolveId(item)));
}
}

0 comments on commit 6386939

Please sign in to comment.