feat: add PLAYER_EVENT_ON_CAN_INIT_TRADE (#83)
This commit is contained in:
@@ -756,6 +756,11 @@ public:
|
||||
{
|
||||
sEluna->OnFfaPvpStateUpdate(player, IsFlaggedForFfaPvp);
|
||||
}
|
||||
|
||||
bool CanInitTrade(Player* player, Player* target) override
|
||||
{
|
||||
return sEluna->OnCanInitTrade(player, target);
|
||||
}
|
||||
};
|
||||
|
||||
class Eluna_ServerScript : public ServerScript
|
||||
|
||||
Reference in New Issue
Block a user