mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Code style fixes.
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
Reference in New Issue
Block a user