Skip to content

Commit

Permalink
Fix dummy players not getting tag
Browse files Browse the repository at this point in the history
  • Loading branch information
DinnerBeef committed Oct 19, 2023
1 parent dd02f70 commit 75866d6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
3 changes: 1 addition & 2 deletions data/lt/functions/game/minigolf/core/give_putters.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ give @s stone_hoe{display:{Name:'{"text":"Gentle Putter","color":"light_purple",
give @s golden_hoe{display:{Name:'{"text":"Soft Putter","color":"light_purple","italic":false}',Lore:['{"text":"For when you need just a slightly less short but still pretty short hit.","color":"white"}']},HideFlags:127,Unbreakable:1b,Enchantments:[{id:"minecraft:knockback",lvl:2s}],Tags:[golf]} 1
give @s iron_hoe{display:{Name:'{"text":"Putter","color":"light_purple","italic":false}',Lore:['{"text":"Perfect for those medium range puts.","color":"white"}']},HideFlags:127,Unbreakable:1b,Enchantments:[{id:"minecraft:knockback",lvl:3s}],Tags:[golf]} 1
give @s diamond_hoe{display:{Name:'{"text":"Powerful Driver","color":"light_purple","italic":false}',Lore:['{"text":"Puts that aren\'t quite far, but aren\'t quite medium.","color":"white"}']},HideFlags:127,Unbreakable:1b,Enchantments:[{id:"minecraft:knockback",lvl:4s}],Tags:[golf]} 1
give @s netherite_hoe{display:{Name:'{"text":"Potent Driver","color":"light_purple","italic":false}',Lore:['{"text":"For when you just want the crab to be as far away from you as possible, as fast as possible.","color":"white"}']},HideFlags:127,Unbreakable:1b,Enchantments:[{id:"minecraft:knockback",lvl:5s}],Tags:[golf]} 1
give @s ltminigames:osa_point 1
give @s netherite_hoe{display:{Name:'{"text":"Potent Driver","color":"light_purple","italic":false}',Lore:['{"text":"For when you just want the crab to be as far away from you as possible, as fast as possible.","color":"white"}']},HideFlags:127,Unbreakable:1b,Enchantments:[{id:"minecraft:knockback",lvl:5s}],Tags:[golf]} 1
36 changes: 18 additions & 18 deletions data/lt/functions/game/minigolf/debug/reset_dummy.mcfunction
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
kill @e[tag=golfDummy]
execute as @e[tag=golfDummySpawner] at @s run summon dummyplayers:dummy_player
execute as @e[tag=golfDummySpawner] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add golfDummy
execute as @e[tag=hole01Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole01Dummy
execute as @e[tag=hole02Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole02Dummy
execute as @e[tag=hole03Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole03Dummy
execute as @e[tag=hole04Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole04Dummy
execute as @e[tag=hole05Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole05Dummy
execute as @e[tag=hole06Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole06Dummy
execute as @e[tag=hole07Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole07Dummy
execute as @e[tag=hole08Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole08Dummy
execute as @e[tag=hole09Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole09Dummy
execute as @e[tag=hole10Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole10Dummy
execute as @e[tag=hole11Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole11Dummy
execute as @e[tag=hole12Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole12Dummy
execute as @e[tag=hole13Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole13Dummy
execute as @e[tag=hole14Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole14Dummy
execute as @e[tag=hole15Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole15Dummy
execute as @e[tag=hole16Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole16Dummy
execute as @e[tag=hole17Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole17Dummy
execute as @e[tag=hole18Marker] at @s run tag @e[type=minecraft:marker,distance=..1] add hole18Dummy
execute as @e[tag=hole01Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole01Dummy
execute as @e[tag=hole02Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole02Dummy
execute as @e[tag=hole03Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole03Dummy
execute as @e[tag=hole04Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole04Dummy
execute as @e[tag=hole05Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole05Dummy
execute as @e[tag=hole06Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole06Dummy
execute as @e[tag=hole07Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole07Dummy
execute as @e[tag=hole08Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole08Dummy
execute as @e[tag=hole09Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole09Dummy
execute as @e[tag=hole10Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole10Dummy
execute as @e[tag=hole11Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole11Dummy
execute as @e[tag=hole12Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole12Dummy
execute as @e[tag=hole13Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole13Dummy
execute as @e[tag=hole14Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole14Dummy
execute as @e[tag=hole15Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole15Dummy
execute as @e[tag=hole16Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole16Dummy
execute as @e[tag=hole17Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole17Dummy
execute as @e[tag=hole18Marker] at @s run tag @e[type=dummyplayers:dummy_player,distance=..1] add hole18Dummy
execute as @e[tag=holeDummySouthEast] at @s run tp @e[type=dummyplayers:dummy_player,distance=..1] ~ ~ ~ -45 0
execute as @e[tag=holeDummySouthWest] at @s run tp @e[type=dummyplayers:dummy_player,distance=..1] ~ ~ ~ 45 0
execute as @e[tag=holeDummyNorthWest] at @s run tp @e[type=dummyplayers:dummy_player,distance=..1] ~ ~ ~ 135 0
Expand Down

0 comments on commit 75866d6

Please sign in to comment.