fix(client/movemnet): allow missing goal types
This commit is contained in:
		| @@ -54,7 +54,7 @@ pub async fn go_to( | |||||||
|     }; |     }; | ||||||
|     let (goal_type, options) = if let Some(metadata) = metadata { |     let (goal_type, options) = if let Some(metadata) = metadata { | ||||||
|         ( |         ( | ||||||
|             metadata.get("type")?, |             metadata.get("type").unwrap_or_default(), | ||||||
|             metadata.get("options").unwrap_or(lua.create_table()?), |             metadata.get("options").unwrap_or(lua.create_table()?), | ||||||
|         ) |         ) | ||||||
|     } else { |     } else { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user