veloren_server_agent::util

Function try_owner_alignment

Source
pub fn try_owner_alignment<'a>(
    alignment: Option<&'a Alignment>,
    read_data: &'a ReadData<'_>,
) -> Option<&'a Alignment>
Expand description

Gets alignment of owner if alignment given is Owned. Returns original alignment if not owned.