Update CreatureMethods.h (#324)

This commit is contained in:
天鹭
2025-10-13 14:13:21 +08:00
committed by GitHub
parent 5077a429cc
commit 466f5b5156

View File

@@ -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;
}