diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-10 21:13:33 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-10 21:13:33 +0100 |
commit | 85ac373a50444d72bad4fb26f8e428160968e57b (patch) | |
tree | d439a31c50a40dbe8cc05ccb39c7ad6fcda1a5af /src/Items | |
parent | Updated MagicCarpet and Core (diff) | |
parent | Merge pull request #659 from tonibm19/master (diff) | |
download | cuberite-85ac373a50444d72bad4fb26f8e428160968e57b.tar cuberite-85ac373a50444d72bad4fb26f8e428160968e57b.tar.gz cuberite-85ac373a50444d72bad4fb26f8e428160968e57b.tar.bz2 cuberite-85ac373a50444d72bad4fb26f8e428160968e57b.tar.lz cuberite-85ac373a50444d72bad4fb26f8e428160968e57b.tar.xz cuberite-85ac373a50444d72bad4fb26f8e428160968e57b.tar.zst cuberite-85ac373a50444d72bad4fb26f8e428160968e57b.zip |
Diffstat (limited to 'src/Items')
-rw-r--r-- | src/Items/ItemBoat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemBoat.h b/src/Items/ItemBoat.h index 31d1ca52e..dd6eaaf14 100644 --- a/src/Items/ItemBoat.h +++ b/src/Items/ItemBoat.h @@ -31,7 +31,7 @@ public: virtual bool OnItemUse(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Dir) override { - if (a_Dir != BLOCK_FACE_YM || a_Dir != BLOCK_FACE_NONE) + if (a_Dir > 0) { return false; } |