diff options
| author | mat <github@matdoes.dev> | 2022-05-28 18:20:15 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-28 18:20:15 -0500 |
| commit | 5d764c79d0b2be9a57a863cd2cb31ca47c16beca (patch) | |
| tree | 4b1d5bc669b4747c500d6a79626f031770bdef34 /azalea-block/block-macros/src | |
| parent | ff2f3c7af5bd4c1a1c10fa7c269830b9081319e4 (diff) | |
| download | azalea-drasl-5d764c79d0b2be9a57a863cd2cb31ca47c16beca.tar.xz | |
genblocks
Diffstat (limited to 'azalea-block/block-macros/src')
| -rw-r--r-- | azalea-block/block-macros/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-block/block-macros/src/lib.rs b/azalea-block/block-macros/src/lib.rs index 3d937ac4..63e21e58 100644 --- a/azalea-block/block-macros/src/lib.rs +++ b/azalea-block/block-macros/src/lib.rs @@ -101,16 +101,16 @@ impl Parse for BlockDefinitions { impl Parse for MakeBlockStates { fn parse(input: ParseStream) -> Result<Self> { - // PROPERTIES => { ... } BLOCKS => { ... } + // Properties => { ... } Blocks => { ... } let properties_ident = input.parse::<Ident>()?; - assert_eq!(properties_ident.to_string(), "PROPERTIES"); + assert_eq!(properties_ident.to_string(), "Properties"); input.parse::<Token![=>]>()?; let content; braced!(content in input); let properties = content.parse()?; let blocks_ident = input.parse::<Ident>()?; - assert_eq!(blocks_ident.to_string(), "BLOCKS"); + assert_eq!(blocks_ident.to_string(), "Blocks"); input.parse::<Token![=>]>()?; let content; braced!(content in input); |
