1
0

Placing a fluid from bucket calls plugin hooks.

Ref.: #1857.
This commit is contained in:
Mattes D
2015-04-14 10:49:01 +02:00
parent 29af16143e
commit de8e5ea8e4
21 changed files with 204 additions and 53 deletions

View File

@@ -411,15 +411,19 @@ bool cItemHandler::OnPlayerPlace(
bool cItemHandler::OnItemUse(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Dir)
bool cItemHandler::OnItemUse(
cWorld * a_World, cPlayer * a_Player, cBlockPluginInterface & a_PluginInterface, const cItem & a_Item,
int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace
)
{
UNUSED(a_World);
UNUSED(a_Player);
UNUSED(a_PluginInterface);
UNUSED(a_Item);
UNUSED(a_BlockX);
UNUSED(a_BlockY);
UNUSED(a_BlockZ);
UNUSED(a_Dir);
UNUSED(a_BlockFace);
return false;
}