0

world: fix seed growth stages

Concerns #1486
This commit is contained in:
Nicolas F
2019-03-16 17:39:49 +01:00
parent 061406ca55
commit f7ab92917f

View File

@@ -941,6 +941,9 @@ class RegionSet(object):
data = {'south': 1, 'north': 0, 'east': 3, 'west': 2}[p['facing']] data = {'south': 1, 'north': 0, 'east': 3, 'west': 2}[p['facing']]
if p['open'] == 'true': data |= 0x04 if p['open'] == 'true': data |= 0x04
if p['half'] == 'top': data |= 0x08 if p['half'] == 'top': data |= 0x08
elif key in ['minecraft:beetroots', 'minecraft:melon_stem', 'minecraft:wheat',
'minecraft:pumpkin_stem']:
data = palette_entry['Properties']['age']
return (block, data) return (block, data)