world: fix snowy grass check
pro tip: 'false' == True.
This commit is contained in:
@@ -866,8 +866,8 @@ class RegionSet(object):
|
|||||||
elif key == 'minecraft:redstone_wire':
|
elif key == 'minecraft:redstone_wire':
|
||||||
data = palette_entry['Properties']['power']
|
data = palette_entry['Properties']['power']
|
||||||
elif key == 'minecraft:grass_block':
|
elif key == 'minecraft:grass_block':
|
||||||
if palette_entry['Properties']['snowy']:
|
if palette_entry['Properties']['snowy'] == 'true':
|
||||||
data = 0x10
|
data |= 0x10
|
||||||
elif key in ('minecraft:sunflower', 'minecraft:lilac', 'minecraft:tall_grass', 'minecraft:large_fern', 'minecraft:rose_bush', 'minecraft:peony'):
|
elif key in ('minecraft:sunflower', 'minecraft:lilac', 'minecraft:tall_grass', 'minecraft:large_fern', 'minecraft:rose_bush', 'minecraft:peony'):
|
||||||
if palette_entry['Properties']['half'] == 'upper':
|
if palette_entry['Properties']['half'] == 'upper':
|
||||||
data |= 0x08
|
data |= 0x08
|
||||||
|
|||||||
Reference in New Issue
Block a user