diff options
author | Mattes D <github@xoft.cz> | 2015-02-21 14:23:37 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-02-21 14:23:37 +0100 |
commit | 1bcc4abd68ad7cff943b1aa785f9d7bcb62c6b5d (patch) | |
tree | 7b5865da7000dbe2799adbdd6eef49fd51abd78c /src/Items | |
parent | Fix door placement check (diff) | |
download | cuberite-1bcc4abd68ad7cff943b1aa785f9d7bcb62c6b5d.tar cuberite-1bcc4abd68ad7cff943b1aa785f9d7bcb62c6b5d.tar.gz cuberite-1bcc4abd68ad7cff943b1aa785f9d7bcb62c6b5d.tar.bz2 cuberite-1bcc4abd68ad7cff943b1aa785f9d7bcb62c6b5d.tar.lz cuberite-1bcc4abd68ad7cff943b1aa785f9d7bcb62c6b5d.tar.xz cuberite-1bcc4abd68ad7cff943b1aa785f9d7bcb62c6b5d.tar.zst cuberite-1bcc4abd68ad7cff943b1aa785f9d7bcb62c6b5d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemDoor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemDoor.h b/src/Items/ItemDoor.h index 6d8d97f6f..18289be03 100644 --- a/src/Items/ItemDoor.h +++ b/src/Items/ItemDoor.h @@ -40,7 +40,7 @@ public: } // The door needs a compatible block below it: - if ((a_BlockY > 0) && !cBlockDoorHandler::CanBeOn(a_World.GetBlock(a_BlockX, a_BlockY - 1, a_BlockZ))) + if (!cBlockDoorHandler::CanBeOn(a_World.GetBlock(a_BlockX, a_BlockY - 1, a_BlockZ))) { return false; } |