mirror of
https://gitlab.com/rautars/weather_pack.git
synced 2024-11-13 05:40:19 +01:00
fix required privilege name
This commit is contained in:
parent
210a33bd5b
commit
92e76c85cc
|
@ -115,7 +115,7 @@ minetest.register_privilege("weather_manager", {
|
|||
minetest.register_chatcommand("set_weather", {
|
||||
params = "<weather>",
|
||||
description = "Changes weather by given param, parameter none will remove weather.",
|
||||
privs = {rain_manager = true},
|
||||
privs = {weather_manager = true},
|
||||
func = function(name, param)
|
||||
if (param == "none") then
|
||||
if (weather.state ~= nil and weather.known_weathers[weather.state] ~= nil) then
|
||||
|
|
Loading…
Reference in New Issue
Block a user