mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-03 22:29:07 +02:00
resource: change BlockColor into an array
This commit is contained in:
parent
fbf212b55f
commit
46802116d9
4 changed files with 942 additions and 942 deletions
|
@ -36,7 +36,7 @@ with open(sys.argv[2], 'w') as f:
|
|||
flags.append('Water')
|
||||
flags = 'make_bitflags!(BlockFlag::{' + '|'.join(flags) + '})'
|
||||
|
||||
print('\t("%s", BlockType { flags: %s, color: BlockColor(%u, %u, %u) }),' % (
|
||||
print('\t("%s", BlockType { flags: %s, color: BlockColor([%u, %u, %u]) }),' % (
|
||||
name,
|
||||
flags,
|
||||
info['color']['r'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue