1
0

Fixed typo in BlockDoor.h

This commit is contained in:
Lane Kolbly 2015-06-13 08:00:20 -05:00
parent ee3082a3c5
commit dafdded7d9

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));