diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-01 23:31:20 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-01 23:31:20 +0200 |
commit | 63bd1976ccab084a36ea9a22b84af64c824d5437 (patch) | |
tree | 603445a24f7731eb1d1465ad2bbad3822a657504 /source/cWorld.cpp | |
parent | Implemented: http://www.mc-server.org/support/index.php?do=details&task_id=239&project=2&dev=26 (diff) | |
download | cuberite-63bd1976ccab084a36ea9a22b84af64c824d5437.tar cuberite-63bd1976ccab084a36ea9a22b84af64c824d5437.tar.gz cuberite-63bd1976ccab084a36ea9a22b84af64c824d5437.tar.bz2 cuberite-63bd1976ccab084a36ea9a22b84af64c824d5437.tar.lz cuberite-63bd1976ccab084a36ea9a22b84af64c824d5437.tar.xz cuberite-63bd1976ccab084a36ea9a22b84af64c824d5437.tar.zst cuberite-63bd1976ccab084a36ea9a22b84af64c824d5437.zip |
Diffstat (limited to 'source/cWorld.cpp')
-rw-r--r-- | source/cWorld.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp index 776d25732..7b40275ca 100644 --- a/source/cWorld.cpp +++ b/source/cWorld.cpp @@ -1911,18 +1911,18 @@ void cWorld::ChunkLoadFailed(int a_ChunkX, int a_ChunkY, int a_ChunkZ) -void cWorld::UpdateSign(int a_BlockX, int a_BlockY, int a_BlockZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4) +void cWorld::UpdateSign(int a_BlockX, int a_BlockY, int a_BlockZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4, cPlayer * a_Player) { AString Line1(a_Line1); AString Line2(a_Line2); AString Line3(a_Line3); AString Line4(a_Line4); - if (cRoot::Get()->GetPluginManager()->CallHookUpdatingSign(this, a_BlockX, a_BlockY, a_BlockZ, Line1, Line2, Line3, Line4)) + if (cRoot::Get()->GetPluginManager()->CallHookUpdatingSign(this, a_BlockX, a_BlockY, a_BlockZ, Line1, Line2, Line3, Line4, a_Player)) { return; } m_ChunkMap->UpdateSign(a_BlockX, a_BlockY, a_BlockZ, Line1, Line2, Line3, Line4); - cRoot::Get()->GetPluginManager()->CallHookUpdatedSign(this, a_BlockX, a_BlockY, a_BlockZ, Line1, Line2, Line3, Line4); + cRoot::Get()->GetPluginManager()->CallHookUpdatedSign(this, a_BlockX, a_BlockY, a_BlockZ, Line1, Line2, Line3, Line4, a_Player); } |