Skip to content

Commit

Permalink
Can no longer get another gift while one's pending
Browse files Browse the repository at this point in the history
  • Loading branch information
supercam19 committed Jul 19, 2022
1 parent 7e6ee7f commit 62e8747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ The main issue I wanted to address with this update is how getting gifts would h

### Fixes
- Fixed bug where players could not hear friendship level up sounds
- If a player has a gift pending, they can no longer become eligible for another gift (they will no longer get the chat message and sound effect)

## Hotfix 1.0.3

Expand Down
2 changes: 1 addition & 1 deletion data/companions/functions/check_for_gift.mcfunction
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
execute as @a[tag=cmp.has_companion] if predicate companions:check_for_gift run function companions:ready_for_gift
execute as @a[tag=cmp.has_companion,tag=!cmp.ready_for_gift] if predicate companions:check_for_gift run function companions:ready_for_gift
schedule function companions:check_for_gift 600s

0 comments on commit 62e8747

Please sign in to comment.