mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-20 10:18:25 +00:00
[Cleanup] Remove Unused Mod Hooks (#2856)
- Removes old `mod_` hooks that have gone unused for years in favor of Lua mods.
This commit is contained in:
@@ -5115,8 +5115,6 @@ void Client::Handle_OP_Consider(const EQApplicationPacket *app)
|
||||
con->faction = FACTION_DUBIOUSLY;
|
||||
}
|
||||
|
||||
mod_consider(t, con);
|
||||
|
||||
QueuePacket(outapp);
|
||||
// only wanted to check raid target once
|
||||
// and need con to still be around so, do it here!
|
||||
@@ -6204,7 +6202,6 @@ void Client::Handle_OP_EnvDamage(const EQApplicationPacket *app)
|
||||
}
|
||||
|
||||
if (GetHP() <= 0) {
|
||||
mod_client_death_env();
|
||||
Death(0, 32000, SPELL_UNKNOWN, EQ::skills::SkillHandtoHand);
|
||||
}
|
||||
SendHPUpdate();
|
||||
@@ -8736,10 +8733,6 @@ void Client::Handle_OP_ItemLinkClick(const EQApplicationPacket *app)
|
||||
}
|
||||
|
||||
if (!response.empty()) {
|
||||
if (!mod_saylink(response, silentsaylink)) {
|
||||
return;
|
||||
}
|
||||
|
||||
ChannelMessageReceived(ChatChannel_Say, 0, 100, response.c_str(), nullptr, true);
|
||||
|
||||
if (!silentsaylink) {
|
||||
|
||||
Reference in New Issue
Block a user