Keep errors inside forked execute chains silent, as vanilla

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-11 16:51:07 +02:00
parent 00371a7f35
commit 753b5654b1
3 changed files with 28 additions and 2 deletions
+7 -1
View File
@@ -860,7 +860,13 @@ def test_command():
cmd('/test locate *'),
cmd('/test run minecraft:nothing*'),
cmd('/test locate nothing'),
cmd('/execute as @e[type=!minecraft:player,limit=1] run test pos'),
*setup('/summon minecraft:marker 8 230 8 {Tags:["tp"]}'),
cmd('/execute as @e[tag=tp] run test pos'),
cmd('/execute positioned 0 230 0 run test pos'),
cmd('/execute as @e[tag=tp] run kill @e[tag=nothing]'),
cmd('/execute as @e[tag=tp] at @s run kill @e[tag=nothing]'),
cmd('/execute positioned 1 2 3 run kill @e[tag=nothing]'),
*setup('/kill @e[tag=tp]'),
]