A paper plugin that provides a minigame called "Don't Do It"
The player just switched its shield to its offhand, and triggered the criteria entry "Hold Shield in Offhand".
The GUI of editing custom criteria, opened by right-clicking the "Edit custom criteria" item.
The player's criteria entry was "Walk for 40m", and it just guessed its criteria entry and got one life recovery reward.