Skip to content

Commit

Permalink
Update returnharpoon.mcfunction
Browse files Browse the repository at this point in the history
  • Loading branch information
Evtema3 committed Mar 12, 2023
1 parent 89323aa commit 3129098
Showing 1 changed file with 4 additions and 1 deletion.
@@ -1,4 +1,7 @@
execute store result score $tempuuid playerUUID run data get entity @s Owner[0]
execute as @a[team=Lobby,tag=InCombat] if score @s playerUUID = $tempuuid playerUUID run loot give @s loot weapons:harpoon
execute as @a[team=Lobby,tag=InCombat] if score @s playerUUID = $tempuuid playerUUID run tag @s add owner
execute as @a[tag=owner,limit=1] run clear @s trident
execute as @a[tag=owner,limit=1] run loot give @s loot weapons:harpoon
tag @a[tag=owner,limit=1] remove owner
scoreboard players reset $tempuuid playerUUID
kill @s

0 comments on commit 3129098

Please sign in to comment.