Merge pull request #7689 from horizon-rust/fix/command-exec-trial-spawner-dying

🤖 Agent: command_exec passes with it (1615/1615); main fails 12 of these without it.
This commit is contained in:
Ludovic Marie authored and GitHub committed 2026-11-02 20:37:15 +01:00
commit e5a138fac7
1 file changed
+3
+3
View File
@@ -1739,6 +1739,9 @@ def trial_spawner_passengers():
cmd(f'/data get entity @e[tag={parent},limit=1] Passengers[0].Tags'),
*setup(f'/kill @e[tag={parent}]', f'/kill @e[tag={rider}]',
'/setblock 4 220 4 air'),
# The killed pair lies dying for 20 ticks, and a dying mob still
# obstructs the next spawn (`Mob.checkSpawnObstruction`).
{'op': 'tick', 'n': 25},
]
return ops + setup('/fill 1 219 1 13 224 8 air', '/gamerule spawn_mobs false')