Fixed bug where you could pickup the floater only to get one spawned instantly or the other way around.
parent
8efde94e4e
commit
3c73076be4
|
@ -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 :
|
||||
|
|
Loading…
Reference in New Issue