1
0

Fixed bug where you could pickup the floater only to get one spawned instantly or the other way around.

This commit is contained in:
STRWarrior 2013-12-21 14:08:58 +01:00
parent 8efde94e4e
commit 3c73076be4

View File

@ -29,6 +29,11 @@ public:
virtual bool OnItemUse(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Dir) override
{
if (a_Dir != BLOCK_FACE_NONE)
{
return false;
}
if (a_Player->IsFishing())
{
class cFloaterCallback :