Compare commits
3 Commits
nalc-1.2.0
...
master
Author | SHA1 | Date |
---|---|---|
|
075df0f10c | |
|
f4eef4af6a | |
|
ab4e94cfba |
|
@ -1 +0,0 @@
|
||||||
irc?
|
|
11
init.lua
11
init.lua
|
@ -27,15 +27,8 @@ minetest.register_privilege("fp_create","Is able to create FailPoints and give t
|
||||||
|
|
||||||
-- Check configuration fields
|
-- Check configuration fields
|
||||||
|
|
||||||
data.PUB_MSG = false
|
data.PUB_MSG = minetest.settings:get_bool("fp_pubmsg", false)
|
||||||
data.STRICT_PLAYER_CHECK = true
|
data.STRICT_PLAYER_CHECK = minetest.settings:get_bool("fp_strict_checking", true)
|
||||||
|
|
||||||
if minetest.setting_getbool("fp_pubmsg") ~= nil then
|
|
||||||
data.PUB_MSG = minetest.setting_getbool("fp_pubmsg")
|
|
||||||
end
|
|
||||||
if minetest.setting_getbool("fp_strict_checking") ~= nil then
|
|
||||||
data.STRICT_PLAYER_CHECK = minetest.setting_getbool("fp_strict_checking")
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Configuration application
|
-- Configuration application
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue