removed hook from enchanting commit
This commit is contained in:
parent
bfac00f280
commit
5609fed360
@ -120,8 +120,6 @@ cPlayer::cPlayer(cClientHandle* a_Client, const AString & a_PlayerName)
|
||||
|
||||
cPlayer::~cPlayer(void)
|
||||
{
|
||||
cRoot::Get()->GetPluginManager()->CallHookPlayerDestroying(*this);
|
||||
|
||||
LOGD("Deleting cPlayer \"%s\" at %p, ID %d", m_PlayerName.c_str(), this, GetUniqueID());
|
||||
|
||||
// Notify the server that the player is being destroyed
|
||||
@ -136,8 +134,6 @@ cPlayer::~cPlayer(void)
|
||||
delete m_InventoryWindow;
|
||||
|
||||
LOGD("Player %p deleted", this);
|
||||
|
||||
cRoot::Get()->GetPluginManager()->CallHookPlayerDestroyed(*this);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1563,7 +1563,7 @@ void cProtocol172::HandlePacketEnchanting(cByteBuffer & a_ByteBuffer)
|
||||
m_Client->GetPlayer()->GetWindow()->SetSlot(*m_Client->GetPlayer(), 0, EnchantItem);
|
||||
|
||||
LOGWARN("Item enchanted!");
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user