diff --git a/README.md b/README.md index 183c5988..913203dc 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m * [bags][] ([BSD 3-Clause][lic.bags]) -- version: [f17d829 Git][ver.bags] *2015-10-11* ([patched][patch.bags]) * [inventory_plus][] ([BSD 3-Clause][lic.inventory_plus]) -- version: [a978b47 Git][ver.inventory_plus] *2016-03-31* ([patched][patch.inventory_plus]) * lighting/ - * [ilights][] ([CC BY-SA][lic.ccbysa]) -- version [b1f7ccf Git][ver.ilights] *2017-03-18* + * [ilights][] ([CC BY-SA][lic.ccbysa]) -- version [b1f7ccf Git][ver.ilights] *2017-03-18* ([patched][patch.ilights]) * walking_light ([petermalone fork][walking_light]) ([WTFPL / CC BY-SA][lic.walking_light]) -- version: [b9de302 Git][ver.walking_light] *2016-09-09* ([patched][patch.walking_light]) * materials/ * [moreores][] ([zlib][lic.moreores] / [CC BY-SA][lic.ccbysa3.0]) -- version: [0842b4f Git][ver.moreores] *2017-03-21* ([patched][patch.moreores]) @@ -496,6 +496,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m [patch.homedecor]: https://github.com/AntumDeluge/mtmp-homedecor/tree/4d6f0c0 [patch.hovercraft]: https://github.com/AntumDeluge/mtmod-hovercraft/tree/96ad3b4 [patch.hud]: https://github.com/AntumDeluge/mtmod-hud/tree/6846e20 +[patch.ilights]: https://github.com/AntumDeluge/mtmod-ilights/tree/f610d75 [patch.inventory_plus]: https://github.com/AntumDeluge/mtmp-inventory_plus/tree/3c81158 [patch.kpgmobs]: https://github.com/AntumDeluge/mtmod-kpgmobs/tree/0773e37 [patch.mesecons]: https://github.com/AntumDeluge/mtmp-mesecons/tree/32a4823 diff --git a/mods/lighting/ilights/init.lua b/mods/lighting/ilights/init.lua index eed4b03c..aee2a60e 100644 --- a/mods/lighting/ilights/init.lua +++ b/mods/lighting/ilights/init.lua @@ -12,7 +12,7 @@ else S = function(s) return s end end -if minetest.get_modpath("unified_inventory") or not minetest.setting_getbool("creative_mode") then +if minetest.get_modpath("unified_inventory") or not minetest.settings:get_bool("creative_mode") then ilights.expect_infinite_stacks = false else ilights.expect_infinite_stacks = true