diff --git a/Hooks.h b/Hooks.h index b32f470570..cb8a664e42 100644 --- a/Hooks.h +++ b/Hooks.h @@ -210,7 +210,7 @@ namespace Hooks // UNUSED = 46, // (event, player) PLAYER_EVENT_ON_UPDATE_AREA = 47, // (event, player, oldArea, newArea) PLAYER_EVENT_ON_TRADE_INIT = 48, // (event, player, target) - Can return false to interrupt trade - PLAYER_EVENT_ON_SEND_MAIL = 49, // (event, player, recipientGuid) + PLAYER_EVENT_ON_SEND_MAIL = 49, // (event, player, recipientGuid) - Can return false to interrupt sending // UNUSED = 50, // (event, player) // UNUSED = 51, // (event, player) // UNUSED = 52, // (event, player) diff --git a/TrinityCore/GlobalMethods.h b/TrinityCore/GlobalMethods.h index 953c8efc6e..15cf029bc5 100644 --- a/TrinityCore/GlobalMethods.h +++ b/TrinityCore/GlobalMethods.h @@ -658,7 +658,7 @@ namespace LuaGlobalFunctions * // UNUSED = 46, // (event, player) * PLAYER_EVENT_ON_UPDATE_AREA = 47, // (event, player, oldArea, newArea) * PLAYER_EVENT_ON_TRADE_INIT = 48, // (event, player, target) - Can return false to interrupt trade - * PLAYER_EVENT_ON_SEND_MAIL = 49, // (event, player, recipientGuid) + * PLAYER_EVENT_ON_SEND_MAIL = 49, // (event, player, recipientGuid) - Can return false to interrupt sending * // UNUSED = 50, // (event, player) * // UNUSED = 51, // (event, player) * // UNUSED = 52, // (event, player)