diff options
| author | EightFactorial <murphkev000@gmail.com> | 2023-02-21 10:13:06 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-21 12:13:06 -0600 |
| commit | d88ca2d86530e48f60fc1ff275de15a96e2a1779 (patch) | |
| tree | 4eabf98a6a3e20228bca36ff1984626a6191b62c /azalea-core/src/difficulty.rs | |
| parent | 71308ee0a3c2068bd135cd6731feae75710c58f2 (diff) | |
| download | azalea-drasl-d88ca2d86530e48f60fc1ff275de15a96e2a1779.tar.xz | |
Make things public (#71)
* Make struct data pub
* Add derives
* Rename packet fields
* Make Palette structs pub
Diffstat (limited to 'azalea-core/src/difficulty.rs')
| -rwxr-xr-x | azalea-core/src/difficulty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-core/src/difficulty.rs b/azalea-core/src/difficulty.rs index 9d504307..750cfe1f 100755 --- a/azalea-core/src/difficulty.rs +++ b/azalea-core/src/difficulty.rs @@ -5,7 +5,7 @@ use std::{ use azalea_buf::{BufReadError, McBufReadable, McBufWritable}; -#[derive(Hash, Clone, Debug, PartialEq, Eq)] +#[derive(Hash, Clone, Copy, Debug, PartialEq, Eq)] pub enum Difficulty { PEACEFUL = 0, EASY = 1, |
