mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-01 13:29:06 +02:00
resource: rename BlockFlags to BlockFlag
The enum only holds a single flag at a time.
This commit is contained in:
parent
102baa9197
commit
db289bc077
3 changed files with 906 additions and 906 deletions
|
@ -34,7 +34,7 @@ with open(sys.argv[2], 'w') as f:
|
|||
flags.append('Spruce')
|
||||
if info['water']:
|
||||
flags.append('Water')
|
||||
flags = 'make_bitflags!(BlockFlags::{' + '|'.join(flags) + '})'
|
||||
flags = 'make_bitflags!(BlockFlag::{' + '|'.join(flags) + '})'
|
||||
|
||||
print('\t("%s", BlockType { flags: %s, color: BlockColor(%u, %u, %u) }),' % (
|
||||
name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue