From 466f5b5156b9e833f1f31e6a026d8afddb82bab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E9=B9=AD?= <18535853+PkllonG@users.noreply.github.com> Date: Mon, 13 Oct 2025 14:13:21 +0800 Subject: [PATCH] Update CreatureMethods.h (#324) --- src/LuaEngine/methods/CreatureMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LuaEngine/methods/CreatureMethods.h b/src/LuaEngine/methods/CreatureMethods.h index 81c6fcf..30f1984 100644 --- a/src/LuaEngine/methods/CreatureMethods.h +++ b/src/LuaEngine/methods/CreatureMethods.h @@ -1134,7 +1134,7 @@ namespace LuaCreature int DespawnOrUnsummon(lua_State* L, Creature* creature) { uint32 msTimeToDespawn = Eluna::CHECKVAL(L, 2, 0); - creature->DespawnOrUnsummon(msTimeToDespawn); + creature->DespawnOrUnsummon(Milliseconds(msTimeToDespawn)); return 0; }