mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
Fix Link in valid_parent_check_plugin.rs (#6584)
# Objective Link doesn't get to right segment ## Solution Fix link
This commit is contained in:
parent
f7c8eb7d86
commit
e48c05c734
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ pub fn check_hierarchy_component_has_valid_parent<T: Component>(
|
|||
already_diagnosed.insert(entity);
|
||||
warn!(
|
||||
"warning[B0004]: {name} with the {ty_name} component has a parent without {ty_name}.\n\
|
||||
This will cause inconsistent behaviors! See https://bevyengine.org/learn/errors/#B0004",
|
||||
This will cause inconsistent behaviors! See https://bevyengine.org/learn/errors/#b0004",
|
||||
ty_name = get_short_name(std::any::type_name::<T>()),
|
||||
name = name.map_or("An entity".to_owned(), |s| format!("The {s} entity")),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue