protocol: fix wildcard_in_or_patterns
This commit is contained in:
parent
2f1c7b3c60
commit
72f0595111
|
@ -245,7 +245,8 @@ impl Color {
|
|||
};
|
||||
Color::RGB(r, g, b)
|
||||
}
|
||||
"white" | _ => Color::White,
|
||||
"white" => Color::White,
|
||||
_ => Color::White,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,8 @@ impl Gamemode {
|
|||
3 => Gamemode::Spectator,
|
||||
2 => Gamemode::Adventure,
|
||||
1 => Gamemode::Creative,
|
||||
0 | _ => Gamemode::Survival,
|
||||
0 => Gamemode::Survival,
|
||||
_ => Gamemode::Survival,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue