mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Update CreatureMethods.h (#324)
This commit is contained in:
@@ -1134,7 +1134,7 @@ namespace LuaCreature
|
||||
int DespawnOrUnsummon(lua_State* L, Creature* creature)
|
||||
{
|
||||
uint32 msTimeToDespawn = Eluna::CHECKVAL<uint32>(L, 2, 0);
|
||||
creature->DespawnOrUnsummon(msTimeToDespawn);
|
||||
creature->DespawnOrUnsummon(Milliseconds(msTimeToDespawn));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user