
# -> Check if old spear time matches new spear time
execute if score @s OverlyRealistic.Player.UsingSpearTime_Old = @s OverlyRealistic.Player.UsingSpearTime_New run \
    return run \
        function overly_realistic:players/misc/spear/throw_spear

# -> Match values
scoreboard players operation @s OverlyRealistic.Player.UsingSpearTime_Old = @s OverlyRealistic.Player.UsingSpearTime_New
