mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fixing tests
This commit is contained in:
parent
8e5f2d4d3b
commit
d5c566ff24
@ -59,11 +59,10 @@ pub enum LoadoutConfig {
|
|||||||
enum ItemSpec {
|
enum ItemSpec {
|
||||||
/// One specific item.
|
/// One specific item.
|
||||||
/// Example:
|
/// Example:
|
||||||
/// `Item("common.items.armor.steel.foot")`
|
/// Item("common.items.armor.steel.foot")
|
||||||
Item(String),
|
Item(String),
|
||||||
/// Choice from items with weights.
|
/// Choice from items with weights.
|
||||||
/// Example:
|
/// Example:
|
||||||
/// ```
|
|
||||||
/// Choice([
|
/// Choice([
|
||||||
/// (1.0, Some(Item("common.items.lantern.blue_0"))),
|
/// (1.0, Some(Item("common.items.lantern.blue_0"))),
|
||||||
/// (1.0, None),
|
/// (1.0, None),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user