LTCatt 6 éve
szülő
commit
6b6b2f7c73

+ 3 - 1
data/mini/functions/phantom/game/summon.mcfunction

@@ -4,4 +4,6 @@ summon phantom 1030 255 6030 {Tags:["new_phantom"]}
 spreadplayers 1030 6030 20 20 false @e[tag=new_phantom]
 tp @e[tag=new_phantom] ~ 35 ~
 attribute @e[tag=new_phantom,limit=1] generic.max_health base set 8
-tag @e[tag=new_phantom] remove new_phantom
+tag @e[tag=new_phantom] remove new_phantom
+
+say generate

+ 2 - 1
data/mini/functions/phantom/game/try_summon.mcfunction

@@ -7,4 +7,5 @@ scoreboard players operation #count mem += #count mem
 scoreboard players operation #count mem += #count mem
 execute as @e[tag=phantom] run scoreboard players remove #count mem 1
 
-execute if score #count mem matches 1.. run function mini:phantom/game/summon
+say try generate
+execute if score #count mem matches 1.. run function mini:phantom/game/summon