[Bug Fix] Fix Lua Client FilteredMessage (#4437)

This commit is contained in:
Alex King 2024-07-31 19:39:57 -04:00 committed by GitHub
parent 2feb05be18
commit 2cf5bae571
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1771,7 +1771,7 @@ int Lua_Client::CalcATK() {
return self->CalcATK();
}
void Lua_Client::FilteredMessage(Mob *sender, uint32 type, int filter, const char *message)
void Lua_Client::FilteredMessage(Lua_Mob sender, uint32 type, int filter, const char *message)
{
Lua_Safe_Call_Void();
self->FilteredMessage(sender, type, (eqFilterType)filter, message);

View File

@ -424,7 +424,7 @@ public:
bool IsDead();
int CalcCurrentWeight();
int CalcATK();
void FilteredMessage(Mob *sender, uint32 type, int filter, const char* message);
void FilteredMessage(Lua_Mob sender, uint32 type, int filter, const char* message);
void EnableAreaHPRegen(int value);
void DisableAreaHPRegen();
void EnableAreaManaRegen(int value);