Fix double flowers data value

Apparently the unused bits do get used sometimes
This commit is contained in:
Thinkofname 2016-03-31 15:39:22 +01:00
parent 646381968b
commit 7f70fd7dfe
1 changed files with 1 additions and 5 deletions

View File

@ -4013,11 +4013,7 @@ define_blocks! {
DoublePlantVariant::Peony
],
},
data if half == BlockHalf::Lower || variant == DoublePlantVariant::Sunflower {
Some(variant.data() | (if half == BlockHalf::Upper { 0x8 } else { 0x0 }))
} else {
None
},
data Some(variant.data() | (if half == BlockHalf::Upper { 0x8 } else { 0x0 })),
material Material {
renderable: true,
never_cull: false,