From 90a39257d7b59a0fcd6548e792767524484b3eeb Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Mon, 15 May 2017 18:21:03 -0700 Subject: [PATCH] [craftguid] Downgrade to Git patch 89db504: For compatibility with stable server. Patch: https://github.com/AntumDeluge/mtmod-craftguide/tree/89db504 --- README.md | 2 +- mods/crafting/craftguide/.luacheckrc | 8 -------- mods/crafting/craftguide/init.lua | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 mods/crafting/craftguide/.luacheckrc diff --git a/README.md b/README.md index 84b2a2e5..b48a1b9e 100644 --- a/README.md +++ b/README.md @@ -496,7 +496,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m [patch.cme]: https://github.com/AntumDeluge/mtmp-cme/tree/7a6e106 [patch.coloredwood]: https://github.com/AntumDeluge/mtmod-coloredwood/tree/e1e02b3 [patch.compassgps]: https://github.com/AntumDeluge/mtmod-compassgps/tree/888ec15 -[patch.craftguide]: https://github.com/AntumDeluge/mtmod-craftguide/tree/44c2e03 +[patch.craftguide]: https://github.com/AntumDeluge/mtmod-craftguide/tree/89db504 [patch.creeper]: https://github.com/AntumDeluge/mtmod-creeper/tree/dc9ffbe [patch.crops]: https://github.com/AntumDeluge/mtmod-crops/tree/f8b33ae [patch.currency]: https://github.com/AntumDeluge/mtmod-currency/tree/d88f59a diff --git a/mods/crafting/craftguide/.luacheckrc b/mods/crafting/craftguide/.luacheckrc deleted file mode 100644 index 65cdb0dd..00000000 --- a/mods/crafting/craftguide/.luacheckrc +++ /dev/null @@ -1,8 +0,0 @@ -unused_args = false -allow_defined_top = true - -read_globals = { - "minetest", - "default", - "sfinv_buttons", -} diff --git a/mods/crafting/craftguide/init.lua b/mods/crafting/craftguide/init.lua index e1af8efa..517a3653 100644 --- a/mods/crafting/craftguide/init.lua +++ b/mods/crafting/craftguide/init.lua @@ -1,5 +1,5 @@ local craftguide, datas, mt = {}, {}, minetest -local progressive_mode = mt.settings:get_bool("craftguide_progressive_mode") +local progressive_mode = mt.setting_getbool("craftguide_progressive_mode") local get_recipe, get_recipes = mt.get_craft_recipe, mt.get_all_craft_recipes local get_result, show_formspec = mt.get_craft_result, mt.show_formspec local reg_items = mt.registered_items