Skip to content

Commit

Permalink
Update to use settings API from Minetest 0.4.16
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge authored and ShadowNinja committed Jan 3, 2018
1 parent 38e97c9 commit e1ffd2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
--]]

local world_path = minetest.get_worldpath()
local admin = minetest.setting_get("name")
local admin = minetest.settings:get("name")
local whitelist = {}

local function load_whitelist()
Expand Down

0 comments on commit e1ffd2b

Please sign in to comment.