mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 17:21:49 -10:00
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:
1 file changed
+3
@@ -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')
|
||||
|
||||
|
||||
Reference in new issue
Block a user