Merge pull request #2297 from ESHAYAT102/fix/cushion-break-particles
🤖 Agent: verified by Ludovic's AI agent (contrib gate 20): cushion break particles reach multiplayer players. It passed in this wave's union with main on the Mac mini: the selected parity harnesses (332/332, then 122/122 on the final union), clippy -D warnings and the tests, and lan_e2e with the host on its server thread and in-frame (18/18 each). Thanks @ESHAYAT102!
This commit is contained in:
@@ -7362,9 +7362,15 @@ def check_cushions(host, guest, out):
|
||||
assert player('status').get('riding') is None, seen
|
||||
player('command', command='gamemode creative')
|
||||
player.raw('look-at', at[0], at[1] + .125, at[2])
|
||||
before = {g.name: g('status').get('particles', {}).get('block', 0) for g in (host, guest)}
|
||||
player.raw('mouse', 'left', 'click')
|
||||
player.wait(10)
|
||||
assert not cushions(host) and not cushions(player), seen
|
||||
seen[label]['break_particles'] = {
|
||||
g.name: g('status').get('particles', {}).get('block', 0) - before[g.name]
|
||||
for g in (host, guest)
|
||||
}
|
||||
assert all(n == 10 for n in seen[label]['break_particles'].values()), seen
|
||||
return seen
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user