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:
Zoey 2024-04-19 17:42:39 -07:00
parent 947fd1271f
commit 21217a3597
No known key found for this signature in database
GPG key ID: 8611B896D1AAFAF2
5 changed files with 189 additions and 8 deletions

View file

@ -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