Skip to content

Commit

Permalink
ALWAYS run player hurt entity at entity
Browse files Browse the repository at this point in the history
  • Loading branch information
PuckiSilver committed Jan 25, 2024
1 parent 49003a8 commit e790f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/argon/functions/player_hurt_entity.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ for i in range(bit_amt):

as @e[type=!#./non_living,limit=1,predicate=./match_id] function ~/as_entity:
scoreboard players set #found f'{namespace}.id' 1
function #./player_hurt_entity
at @s function #./player_hurt_entity

if score #found f'{namespace}.id' matches 0 run function #./player_killed_entity

Expand Down

0 comments on commit e790f66

Please sign in to comment.