summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-10 21:13:33 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-10 21:13:33 +0100
commit85ac373a50444d72bad4fb26f8e428160968e57b (patch)
treed439a31c50a40dbe8cc05ccb39c7ad6fcda1a5af
parentUpdated MagicCarpet and Core (diff)
parentMerge pull request #659 from tonibm19/master (diff)
downloadcuberite-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
-rw-r--r--src/Items/ItemBoat.h2
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;
}