diff options
author | maximius <none@none> | 2009-09-23 20:19:21 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-09-23 20:19:21 -0700 |
commit | 906b00465ad7c41a018a6c6ea3f37b6c466d38cd (patch) | |
tree | df4aa409d11e89d85fa8d8c3e9a0c424df29f612 /src/game/SpellHandler.cpp | |
parent | 8102372a67098e1af65888b0b411eb3b47814bf0 (diff) |
*add 11 new event hooks to the OnEvents system, by Hawthorne
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellHandler.cpp')
-rw-r--r-- | src/game/SpellHandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp index 13d469c918b..b8aa4469472 100644 --- a/src/game/SpellHandler.cpp +++ b/src/game/SpellHandler.cpp @@ -189,6 +189,9 @@ void WorldSession::HandleOpenItemOpcode(WorldPacket& recvPacket) return; } + if(!pUser->GetSession()->HandleOnItemOpen(pItem)) + return; + // locked item uint32 lockId = proto->LockID; if(lockId) |