Skip to content

Commit 0e85a95

Browse files
committed
move objective add command to correct function
1 parent 0bddc23 commit 0e85a95

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: 3-scoreboards/data/fennifith/functions/animals/load.mcfunction

+3
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ scoreboard objectives add fennifith.animals_spawned dummy
55

66
# create a new scoreboard tracking the "carrot_on_a_stick" statistic
77
scoreboard objectives add fennifith.animals_carrot_stick minecraft.used:minecraft.carrot_on_a_stick
8+
9+
# create a dummy objective to store unique pig entity ids
10+
scoreboard objectives add fennifith.animals_id dummy

Diff for: 3-scoreboards/data/fennifith/functions/animals/tick.mcfunction

-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ execute as @a if score @s fennifith.animals_carrot_stick matches 1.. run functio
66

77
# set the "carrot_stick" score for all players to 0
88
scoreboard players set @a fennifith.animals_carrot_stick 0
9-
10-
# create a dummy objective to store unique pig entity ids
11-
scoreboard objectives add fennifith.animals_id dummy

0 commit comments

Comments
 (0)