mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Code style fixes.
This commit is contained in:
parent
24e9db07ec
commit
af3f696423
43 changed files with 493 additions and 484 deletions
|
@ -234,10 +234,10 @@ core.register_chatcommand("dump_wear_bar", {
|
|||
})
|
||||
|
||||
core.register_chatcommand("set_saturation", {
|
||||
params = "<saturation>",
|
||||
description = "Set the saturation for current player.",
|
||||
func = function(player_name, param)
|
||||
local saturation = tonumber(param)
|
||||
core.get_player_by_name(player_name):set_lighting({saturation = saturation })
|
||||
end
|
||||
params = "<saturation>",
|
||||
description = "Set the saturation for current player.",
|
||||
func = function(player_name, param)
|
||||
local saturation = tonumber(param)
|
||||
core.get_player_by_name(player_name):set_lighting({saturation = saturation })
|
||||
end
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue