mirror of
https://github.com/zyllian/classics.git
synced 2025-05-11 14:36:39 -07:00
add block info and modify permission checking to use it
This commit is contained in:
parent
947fd1271f
commit
21217a3597
5 changed files with 189 additions and 8 deletions
|
@ -31,7 +31,7 @@ pub struct Player {
|
|||
}
|
||||
|
||||
/// enum describing types of players
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
|
||||
#[repr(u8)]
|
||||
pub enum PlayerType {
|
||||
/// a normal player
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue