AntumDeluge 2017-06-06 19:02:52 -07:00
parent 1611dcb2f3
commit d4a979561f
4 changed files with 4 additions and 4 deletions

View File

@ -513,7 +513,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[patch.crops]: https://github.com/AntumDeluge/mtmod-crops/tree/0c5c649
[patch.currency]: https://github.com/AntumDeluge/mtmod-currency/tree/9e9b1be
[patch.drawers]: https://github.com/AntumDeluge/mtmod-drawers/tree/3887c5b
[patch.ethereal]: https://github.com/AntumDeluge/mtmod-ethereal/tree/4be06f0
[patch.ethereal]: https://github.com/AntumDeluge/mtmod-ethereal/tree/9f50d6e
[patch.farming_plus]: https://github.com/AntumDeluge/mtmod-farming_plus/tree/454a443
[patch.helicopter]: https://github.com/AntumDeluge/mtmod-helicopter/tree/66a6523
[patch.hovercraft]: https://github.com/AntumDeluge/mtmod-hovercraft/tree/96ad3b4

View File

@ -348,7 +348,7 @@ minetest.register_craftitem("ethereal:bonemeal", {
return
end
if not minetest.setting_getbool("creative_mode") then
if not minetest.settings:get_bool("creative_mode") then
local item = user:get_wielded_item()

View File

@ -195,7 +195,7 @@ minetest.register_tool("ethereal:shovel_crystal", {
ethereal.check_falling(pos)
if minetest.setting_getbool("creative_mode") then
if minetest.settings:get_bool("creative_mode") then
if not inv:contains_item("main", {name = nn}) then
inv:add_item("main", {name = nn})

View File

@ -288,7 +288,7 @@ minetest.register_tool("ethereal:light_staff", {
minetest.swap_node(pos, {name = "ethereal:glostone"})
if not minetest.setting_getbool("creative_mode") then
if not minetest.settings:get_bool("creative_mode") then
itemstack:add_wear(65535 / 149) -- 150 uses
end