1
0

Merge pull request #2237 from lkolbly/master

Fixing how village doors are generated in 1.8.
This commit is contained in:
worktycho 2015-06-13 21:55:36 +01:00
commit d961693020

View File

@ -242,7 +242,7 @@ public:
if ((Meta & 0x08) != 0) if ((Meta & 0x08) != 0)
{ {
// The coords are pointing at the top part of the door // The coords are pointing at the top part of the door
if (a_BlockX > 0) if (a_BlockY > 0)
{ {
NIBBLETYPE DownMeta = a_ChunkInterface.GetBlockMeta(a_BlockX, a_BlockY - 1, a_BlockZ); NIBBLETYPE DownMeta = a_ChunkInterface.GetBlockMeta(a_BlockX, a_BlockY - 1, a_BlockZ);
return static_cast<NIBBLETYPE>((DownMeta & 0x07) | 0x08 | (Meta << 4)); return static_cast<NIBBLETYPE>((DownMeta & 0x07) | 0x08 | (Meta << 4));