moo.core.tests.test_parser.test_get_dobj_lookup_prefers_local_match
- moo.core.tests.test_parser.test_get_dobj_lookup_prefers_local_match(t_init, t_wizard)
get_dobj(lookup=True) returns the locally-matched object when one exists.
Regression: was unconditionally going through global lookup() and ignoring the parse-time local match, which caused commands like @obvious crate to grab a faraway “wooden crate” instead of the player’s own crate.