diff options
-rw-r--r-- | source/Blocks/BlockDoor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Blocks/BlockDoor.h b/source/Blocks/BlockDoor.h index 37584895f..d2bb27901 100644 --- a/source/Blocks/BlockDoor.h +++ b/source/Blocks/BlockDoor.h @@ -37,7 +37,7 @@ public: virtual bool CanBeAt(cWorld * a_World, int a_BlockX, int a_BlockY, int a_BlockZ) override
{
- return a_World->GetBlock(a_BlockX, a_BlockY - 1, a_BlockZ);
+ return (a_World->GetBlock(a_BlockX, a_BlockY - 1, a_BlockZ) != E_BLOCK_AIR);
}
} ;
|