mirror of
https://github.com/azerothcore/mod-ale
synced 2025-12-01 21:15:19 +08:00
Eluna fix error report message expected type
This commit is contained in:
@@ -246,7 +246,7 @@ public:
|
|||||||
{
|
{
|
||||||
if (error)
|
if (error)
|
||||||
{
|
{
|
||||||
std::string errmsg(ElunaTemplate<Unit>::tname);
|
std::string errmsg(ElunaTemplate<T>::tname);
|
||||||
errmsg += " expected";
|
errmsg += " expected";
|
||||||
luaL_argerror(L, narg, errmsg.c_str());
|
luaL_argerror(L, narg, errmsg.c_str());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user