mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
Remove lua_State parameter from LuaError::LuaError
This commit is contained in:
@@ -1120,7 +1120,7 @@ int ObjectRef::l_set_sky(lua_State *L)
|
||||
}
|
||||
|
||||
if (type == "skybox" && params.size() != 6)
|
||||
throw LuaError(L, "skybox expects 6 textures");
|
||||
throw LuaError("skybox expects 6 textures");
|
||||
|
||||
if (!getServer(L)->setSky(player, bgcolor, type, params))
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user