Skip to content

Commit

Permalink
Replace deprecated method 'setting_getbool' with 'settings:get_bool'
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge authored and sofar committed Feb 17, 2018
1 parent 7c5ab71 commit 2ffb3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ then
for i = 0, anzahl-1 do
give[i+1]=inv:add_item("res",shape)
end
if not minetest.setting_getbool("creative_mode") then
if not minetest.settings:get_bool("creative_mode") then
ingotstack:take_item()
ingotstack2:take_item()
end
Expand Down

0 comments on commit 2ffb3a2

Please sign in to comment.