mirror of
https://github.com/t-affeldt/lighting_monoids.git
synced 2025-04-02 19:10:36 +02:00
Add patch for climate_api to disable MTG weather
This commit is contained in:
parent
8108a5d585
commit
7ac833bb19
@ -7,6 +7,11 @@ if weather == nil or weather.get == nil then
|
||||
return
|
||||
end
|
||||
|
||||
-- leave it to climate_api to disable
|
||||
if minetest.get_modpath("climate_api") then
|
||||
return
|
||||
end
|
||||
|
||||
-- prevent mod from triggering lighting updates itself
|
||||
local old_get = weather.get
|
||||
weather.get = function(player)
|
||||
|
Loading…
x
Reference in New Issue
Block a user