mirror of
https://github.com/t-affeldt/climate_api.git
synced 2025-06-30 07:20:48 +02:00
Update meta data
This commit is contained in:
@ -55,7 +55,7 @@ function weather_mod.get_weather(pos, wind)
|
||||
end
|
||||
end
|
||||
if type(weather) == "nil" then
|
||||
minetest.log("error", "[Ultimate Weather] No default weather registered")
|
||||
minetest.log("error", "[Believable Weather] No default weather registered")
|
||||
end
|
||||
minetest.log(weather)
|
||||
return weather
|
||||
|
@ -11,7 +11,7 @@ end
|
||||
|
||||
function weather_mod.set_weather(name)
|
||||
if type(weather_mod.weathers[name]) == nil then
|
||||
minetest.log("warning", "[Ultimate Weathers] Weather does not exist")
|
||||
minetest.log("warning", "[Believable Weather] Weather does not exist")
|
||||
return
|
||||
end
|
||||
weather_mod.state.current_weather = name
|
||||
|
@ -41,7 +41,7 @@ local function raycast(player, origin)
|
||||
end
|
||||
o = ray:next()
|
||||
if o then
|
||||
minetest.log("warning","[ultimate_weather] raycast hit more after hitting the player\n"..
|
||||
minetest.log("warning","[Believable Weather] raycast hit more after hitting the player\n"..
|
||||
dump2(o,"o"))
|
||||
end
|
||||
return true
|
||||
|
Reference in New Issue
Block a user