1
0
This commit is contained in:
Tiger Wang 2014-02-10 20:13:33 +00:00
commit 85ac373a50

View File

@ -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 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; return false;
} }