fix(LuaEngine): Register Loot type to fix GetLoot() method (#362)

This commit is contained in:
FM
2026-03-08 03:58:55 +08:00
committed by GitHub
parent 50584792fc
commit c5efab32ed

View File

@@ -1954,6 +1954,9 @@ void RegisterFunctions(ALE* E)
ALETemplate<CreatureTemplate>::Register(E, "CreatureTemplate");
ALETemplate<Loot>::Register(E, "Loot");
ALETemplate<Loot>::SetMethods(E, LootMethods);
ALETemplate<long long>::Register(E, "long long", true);
ALETemplate<unsigned long long>::Register(E, "unsigned long long", true);