9fe228cd1e
On a server (dedicated, or single player's server thread) each dimension is its own level, but a command ran in whichever level was in place. So a guest in the Nether running `execute in minecraft:overworld run setblock ...` got "That position is not loaded", and `execute at <a player in another level>` used the wrong level's blocks. with_source now puts the source's level in place for the command (CommandSourceStack.getLevel), as as_target already does for a player in another level, and puts the old one back after. `execute at` takes the entity's level (withLevel(entity.level())), and a player's level is the guest's own (target_level) even while another level is in place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>