1
0

Replace invalid references in deprecation messages (#5235)

This commit is contained in:
Mat 2021-06-07 10:49:45 +03:00 committed by GitHub
parent 1322b0c4d1
commit 5b440c3ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -724,7 +724,7 @@ static int tolua_cWorld_FastSetBlock(lua_State * tolua_S)
if (OffsetIndex != 3) // Not the vector overload
{
L.LogStackTrace();
LOGWARN("GetBlockBlockLight with 3 position arguments is deprecated, use vector-parametered version instead.");
LOGWARN("FastSetBlock with 3 position arguments is deprecated, use vector-parametered version instead.");
}
cWorld * World;
@ -1447,7 +1447,7 @@ static int tolua_cWorld_SetBlock(lua_State * tolua_S)
if (OffsetIndex != 3) // Not the vector overload
{
L.LogStackTrace();
LOGWARN("GetBlockBlockLight with 3 position arguments is deprecated, use vector-parametered version instead.");
LOGWARN("SetBlock with 3 position arguments is deprecated, use vector-parametered version instead.");
}
cWorld * World;