Function veloren_common::states::utils::attempt_wield

source ยท
pub fn attempt_wield(data: &JoinData<'_>, update: &mut StateUpdate)
Expand description

If a tool is equipped, goes into Equipping state, otherwise goes to Idle