Merge pull request #14 from Nyeriah/patch-1

Fix build
This commit is contained in:
55Honey
2022-01-14 12:12:29 +01:00
committed by GitHub

View File

@@ -59,11 +59,11 @@ namespace LuaMap
/** /**
* Returns `true` if the [Map] has no [Player]s, `false` otherwise. * Returns `true` if the [Map] has no [Player]s, `false` otherwise.
* *
* @return bool isEmpty * @return bool IsEmpty
*/ */
int IsEmpty(lua_State* L, Map* map) int IsEmpty(lua_State* L, Map* map)
{ {
Eluna::Push(L, map->isEmpty()); Eluna::Push(L, map->IsEmpty());
return 1; return 1;
} }